xerus
a general purpose tensor library
containerOutput.h File Reference

Header file for the standard container to standard ostream operators. More...

#include <tuple>
#include <set>
#include <vector>
#include <map>
#include <iostream>

Go to the source code of this file.

Namespaces

 xerus
 The main namespace of xerus.
 
 xerus::misc
 Collection of classes and functions that provide elementary functionality that is not special to xerus as a tensor library.
 
 xerus::misc::internal
 Namespace for function and classes designated only for internal use.
 

Functions

template<class... Tp>
std::ostream & xerus::misc::operator<< (std::ostream &_out, const std::tuple< Tp... > &_tuple)
 Allow to pipe tuples to ostreams. More...
 
template<class first_t , class second_t >
std::ostream & xerus::misc::operator<< (std::ostream &_out, const std::pair< first_t, second_t > &_pair)
 Allow to pipe std::pairs to ostreams. More...
 
template<class item_t , class... rest_t>
std::ostream & xerus::misc::operator<< (std::ostream &_out, const std::vector< item_t, rest_t... > &_container)
 Allow to pipe normal containers to ostreams. More...
 
template<class item_t , class... rest_t>
std::ostream & xerus::misc::operator<< (std::ostream &_out, const std::set< item_t, rest_t... > &_container)
 Allow to pipe std::sets to ostreams. More...
 
template<class T , class U >
std::ostream & xerus::misc::operator<< (std::ostream &_out, const std::map< T, U > &_set)
 Allow to pipe std::maps to ostreams. More...
 
template<size_t n = 0, typename... Tp, typename std::enable_if< n+1==sizeof...(Tp), int >::type = 0>
void xerus::misc::internal::print (std::ostream &_out, const std::tuple< Tp... > &t)
 

Detailed Description

Header file for the standard container to standard ostream operators.

Definition in file containerOutput.h.