SyTen
pair.h File Reference

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"
+ Include dependency graph for pair.h:
+ This graph shows which files directly or indirectly include this file:

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

 syten
 Syten namespace.
 

Functions

template<typename First , typename Second >
std::ostreamsyten::operator<< (std::ostream &out, Pair< First, Second > const &pair)
 Writing a Pair<> to an output stream. More...
 
template<typename First , typename Second >
std::ostreamsyten::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::istreamsyten::operator>> (std::istream &in, Pair< First, Second > &pair)
 Reading a Pair<> from an input stream. More...
 

Detailed Description

A proxy object for std::pair to allow overloads of operator>> and operator<<.