LRDE Tiger Compiler
1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
scoped-map.hxx
Go to the documentation of this file.
1
5
#ifndef MISC_SCOPED_MAP_HXX
6
# define MISC_SCOPED_MAP_HXX
7
8
# include <stdexcept>
9
# include <sstream>
10
# include <type_traits>
11
12
# include <
misc/contract.hh
>
13
# include <
misc/algorithm.hh
>
14
# include <
misc/indent.hh
>
15
16
namespace
misc
17
{
18
// FIXME: Some code was deleted here (This needs to be done at TC-3).
19
20
template
<
typename
Key,
typename
Data>
21
inline
std::ostream&
22
operator<<(std::ostream& ostr, const scoped_map<Key, Data>& tbl)
23
{
24
return
tbl.dump(ostr);
25
}
26
27
}
// namespace misc
28
29
#endif // !MISC_SCOPED_MAP_HXX
misc
scoped-map.hxx
Generated on Wed Mar 5 2014 15:47:36 for LRDE Tiger Compiler by
1.8.1.2