A proxy object for std::pair to allow overloads of operator>>
and operator<<
.
More...
#include <utility>
#include <iostream>
#include "inc/util/types.h"
#include "inc/util/boost_versioning.h"
Classes | |
class | syten::Pair< First, Second > |
A proxy class for std::pair , intended to behave exactly the same but with ADL-supported operator overloading. More... | |
Namespaces | |
namespace | syten |
Syten namespace. | |
Functions | |
template<typename First , typename Second > | |
std::ostream & | syten::operator<< (std::ostream &out, Pair< First, Second > const &pair) |
Writing a Pair<> to an output stream. More... | |
template<typename First , typename Second > | |
std::ostream & | syten::operator<< (std::ostream &out, Verbose< Pair< First, Second > > const &pair) |
Writing a verbose Pair<> to an output stream. More... | |
template<typename First , typename Second > | |
std::istream & | syten::operator>> (std::istream &in, Pair< First, Second > &pair) |
Reading a Pair<> from an input stream. More... | |
A proxy object for std::pair to allow overloads of operator>>
and operator<<
.