LRDE Tiger Compiler  1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
pair.hh
Go to the documentation of this file.
1 
6 #ifndef MISC_PAIR_HH
7 # define MISC_PAIR_HH
8 
9 # include <iosfwd>
10 
11 namespace misc
12 {
13 
14  template <class Fst, typename Snd>
15  struct pair : public std::pair<Fst, Snd>
16  {
17  pair(const Fst& fst, const Snd& snd);
18  };
19 
21  template <class Fst, typename Snd>
23  make_pair(Fst fst, Snd snd);
24 
26  template <class Fst, typename Snd>
27  inline std::ostream&
28  operator<<(std::ostream& ostr, const pair<Fst, Snd>& p);
29 
30 }
31 
32 # include <misc/pair.hxx>
33 
34 #endif // !MISC_PAIR_HH