FE 0.6.0
A header-only C++ library for writing frontends
Loading...
Searching...
No Matches
format.h File Reference
#include <fmt/format.h>
#include "fe/loc.h"
#include "fe/utf8.h"
Include dependency graph for format.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fe::basic_ostream_formatter< Char >
 Make types that support ostream operators available for std::format. More...
 
class  fe::Tab
 Keeps track of indentation level during output. More...
 

Namespaces

namespace  fe
 
namespace  fe::format
 

Typedefs

using fe::ostream_formatter = basic_ostream_formatter<char>
 

Functions

out/outln/err/errln

Print to std::cout/std::cerr via std::format; the *ln variants conclude with std::endl.

template<class... Args>
void fe::err (format::format_string< Args... > fmt, Args &&... args)
 
template<class... Args>
void fe::out (format::format_string< Args... > fmt, Args &&... args)
 
template<class... Args>
void fe::errln (format::format_string< Args... > fmt, Args &&... args)
 
template<class... Args>
void fe::outln (format::format_string< Args... > fmt, Args &&... args)