Printing helpers for std types.
Definition in file print.hpp.
#include <iostream>
#include <vector>
#include <array>
#include <utility>
#include <tuple>
Go to the source code of this file.
Functions | |
template<class T , class U > | |
std::ostream & | std::operator<< (std::ostream &xx, const std::pair< T, U > &par) |
Output pairs as (1, 2) . More... | |
template<class T , size_t N> | |
std::ostream & | std::operator<< (std::ostream &xx, const std::array< T, N > &arr) |
Output arrays as [1, 2, 3] . More... | |
template<class T , class A > | |
std::ostream & | std::operator<< (std::ostream &xx, const std::vector< T, A > &arr) |
Output vectors as [1, 2, 3] . More... | |
template<class T , class A > | |
std::ostream & | std::operator<< (std::ostream &xx, const std::vector< std::vector< T, A >> &arr) |
Output nested vectors as [[1, 2]; [3, 4]] . More... | |
template<class... Args> | |
std::ostream & | std::operator<< (std::ostream &os, const std::tuple< Args... > &t) |
Print a tuple as (1, 4.5, abc). More... | |