ZeroErr
|
#include "zeroerr/internal/config.h"
#include "zeroerr/color.h"
#include "zeroerr/internal/typetraits.h"
Go to the source code of this file.
Classes | |
struct | zeroerr::rank< N > |
rank is a helper class for Printer to define the priority of overloaded functions. More... | |
struct | zeroerr::rank< 0 > |
struct | zeroerr::detail::has_extension< T, typename > |
has_extension is a type trait to check if user defined PrinterExt for a type More... | |
struct | zeroerr::detail::has_extension< T, has_printer_ext< T > > |
struct | zeroerr::Printer |
A functor class Printer for printing a value of any type. More... | |
Namespaces | |
zeroerr | |
zeroerr::detail | |
Typedefs | |
template<typename T > | |
using | zeroerr::detail::has_printer_ext = void_t< decltype(zeroerr::PrinterExt(std::declval< zeroerr::Printer & >(), std::declval< T & >(), 0, nullptr, zeroerr::rank< zeroerr::max_rank >()))> |
Functions | |
template<typename T > | |
void | zeroerr::PrinterExt (Printer &P, T v, unsigned level, const char *lb, rank< 0 >) |
PrinterExt is an extension of Printer that allows user to write custom rules for printing. More... | |
Printer & | zeroerr::getStdoutPrinter () |
Printer & | zeroerr::getStderrPrinter () |
Variables | |
constexpr unsigned | zeroerr::max_rank = 5 |