|
template<typename... Args> |
Printer & | operator() (Args &&... args) |
|
template<typename T > |
Printer & | operator() (std::initializer_list< T > &&value) |
|
void | check_stream () |
|
template<typename T , typename... V> |
void | call (T value, V... others) |
|
template<typename T > |
void | call (T value) |
|
| Printer (std::ostream &os) |
|
| Printer () |
|
| ~Printer () |
|
| print (T value, unsigned level, const char *lb, rank< 0 >) |
|
| print (T value, unsigned level, const char *lb, rank< 0 >) |
|
| print (T value, unsigned level, const char *lb, rank< 0 >) |
|
| print (T value, unsigned level, const char *lb, rank< 1 >) |
|
| print (T value, unsigned level, const char *lb, rank< 2 >) |
|
| print (T value, unsigned level, const char *lb, rank< 2 >) |
|
| print (const T &value, unsigned level, const char *lb, rank< 2 >) |
|
| print (const T &value, unsigned level, const char *lb, rank< 3 >) |
|
| print (T value, unsigned level, const char *lb, rank< 3 >) |
|
| print (const T &value, unsigned level, const char *lb, rank< 4 >) |
|
| print (T value, unsigned level, const char *lb, rank< 4 >) |
|
| print (T value, unsigned level, const char *lb, rank< 4 >) |
|
template<class TupType > |
void | print_tuple (const TupType &, unsigned, const char *, detail::seq<>) |
|
template<class TupType , unsigned... I> |
void | print_tuple (const TupType &_tup, unsigned level, const char *, detail::seq< I... >) |
|
template<class... Args> |
void | print (const std::tuple< Args... > &value, unsigned level, const char *lb, rank< 3 >) |
|
std::string | tab (unsigned level) |
|
const char * | quote () |
|
std::string | str () const |
|
| operator std::string () const |
|
A functor class Printer for printing a value of any type.
This class can print values with all basic types, pointers, STL containers, tuple, optional, and variant values. Any class that is streamable can be printed. POD structs can be supported using third-party library Boost.PFR and enum can be supported using magic_enum.