Define overloadings of the stream operator for various containers.
More...
#include <map>
#include <set>
#include <string>
#include <vector>
#include <ostream>
Go to the source code of this file.
|
| Gambit |
| TODO: see if we can use this one:
|
|
|
std::string | Gambit::spacing (int, int) |
| Spacing utility for stream overloads. More...
|
|
template<class Type1 , class Type2 > |
std::ostream & | Gambit::operator<< (std::ostream &os, const std::pair< Type1, Type2 > &p) |
| Stream overload for pairs of any type that already has << defined. More...
|
|
template<class Type > |
std::ostream & | Gambit::operator<< (std::ostream &os, const std::set< Type > &set) |
| Stream overload for sets of any type that already has << defined. More...
|
|
template<class Type > |
std::ostream & | Gambit::operator<< (std::ostream &os, const std::vector< Type > &v) |
| Stream overload for vectors of any type that already has << defined. More...
|
|
template<class Type > |
std::ostream & | Gambit::operator<< (std::ostream &os, const std::map< std::string, Type > &map) |
| Stream overload for map from string to any type that already has << defined. More...
|
|
Define overloadings of the stream operator for various containers.
Authors (add name and date if you modify):
- Author
- Pat Scott (patsc.nosp@m.ott@.nosp@m.physi.nosp@m.cs.m.nosp@m.cgill.nosp@m..ca)
- Date
- 2013 Jan, Dec
- Author
- Ben Farmer (benja.nosp@m.min..nosp@m.farme.nosp@m.r@mo.nosp@m.nash..nosp@m.edu)
- Date
- 2013 Jun, 2016 Jan
Definition in file stream_overloads.hpp.