ZeroErr
Loading...
Searching...
No Matches
print.h File Reference
#include "zeroerr/internal/config.h"
#include "zeroerr/color.h"
#include "zeroerr/internal/text.h"
#include "zeroerr/buffer.h"
#include "zeroerr/internal/typetraits.h"
#include <functional>
#include <memory>
#include <initializer_list>
#include <typeinfo>
Include dependency graph for print.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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

namespace  zeroerr
namespace  zeroerr::detail

Macros

#define _LIBCPP_REMOVE_TRANSITIVE_INCLUDES

Typedefs

template<typename T>
using zeroerr::detail::has_printer_ext

Functions

template<typename T>
void zeroerr::PrinterExt (Printer &P, const T &v, unsigned level, const char *lb, rank< 0 >)
 PrinterExt is an extension of Printer that allows user to write custom rules for printing.
StringBuffer & zeroerr::operator<< (StringBuffer &buffer, const Printer &printer)
template<typename T>
void zeroerr::detail::printDiagnosticValue (Printer &printer, const void *value)
template<typename T>
DiagnosticValue zeroerr::detail::makeDiagnosticValue (T &value)
Printer & zeroerr::getStdoutPrinter ()
Printer & zeroerr::getStderrPrinter ()

Variables

constexpr unsigned zeroerr::max_rank = 5

Macro Definition Documentation

◆ _LIBCPP_REMOVE_TRANSITIVE_INCLUDES

#define _LIBCPP_REMOVE_TRANSITIVE_INCLUDES