FE 0.6.1
A header-only C++ library for writing frontends
Loading...
Searching...
No Matches
format.h File Reference
#include <format>
#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
 

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 (std::format_string< Args... > fmt, Args &&... args)
 
template<class... Args>
void fe::out (std::format_string< Args... > fmt, Args &&... args)
 
template<class... Args>
void fe::errln (std::format_string< Args... > fmt, Args &&... args)
 
template<class... Args>
void fe::outln (std::format_string< Args... > fmt, Args &&... args)