SyTen
stl_overloads.h File Reference

Overloads of output operators with STL types. More...

#include <iomanip>
#include <vector>
#include <array>
#include <unordered_map>
#include <unordered_set>
#include "inc/util/types.h"
+ Include dependency graph for stl_overloads.h:
+ This graph shows which files directly or indirectly include this file:

Namespaces

 std
 STL namespace.
 

Functions

template<typename Type , std::size_t rank>
std::ostreamstd::operator<< (std::ostream &out, std::array< Type, rank > const &a)
 Formatted output of an array, using curly brackets. More...
 
template<typename TypeA , typename TypeB >
std::ostreamstd::operator<< (std::ostream &out, std::pair< TypeA, TypeB > const &a)
 Formatted output of a pair, using pointy brackets. More...
 
template<typename... Types>
std::ostreamstd::operator<< (std::ostream &out, std::tuple< Types... > const &value)
 Prints a tuple. More...
 
template<typename... Args>
std::ostreamstd::operator<< (std::ostream &out, std::unordered_map< Args... > const &um)
 Prints an unordered_map. More...
 
template<typename Type >
std::ostreamstd::operator<< (std::ostream &out, std::unordered_set< Type > const &a)
 Formatted output of an unordered set, using square brackets. More...
 
template<typename Type >
std::ostreamstd::operator<< (std::ostream &out, std::vector< Type > const &a)
 Formatted output of a vector, using square brackets. More...
 
template<typename Type , std::size_t rank>
std::ostreamstd::operator<< (std::ostream &out, syten::Verbose< std::array< Type, rank > > const &a)
 Formatted verbose output of an array, using curly brackets. More...
 
template<typename TypeA , typename TypeB >
std::ostreamstd::operator<< (std::ostream &out, syten::Verbose< std::pair< TypeA, TypeB > > const &a)
 Formatted verbose output of a pair, using pointy brackets. More...
 
template<typename Type >
std::ostreamstd::operator<< (std::ostream &out, syten::Verbose< std::vector< Type > > const &a)
 Formatted verbose output of a vector, using square brackets. More...
 

Detailed Description

Overloads of output operators with STL types.