RavEngine
Loading...
Searching...
No Matches
context Class Reference

Public Types

using char_type = char
 
using iterator = appender
 
using format_arg = basic_format_arg< context >
 
using parse_context_type = basic_format_parse_context< char >
 
template<typename T >
using formatter_type = formatter< T, char >
 

Public Member Functions

FMT_CONSTEXPR context (iterator out, basic_format_args< context > ctx_args, detail::locale_ref loc={})
 
 context (context &&)=default
 
 context (const context &)=delete
 
void operator= (const context &)=delete
 
FMT_CONSTEXPR auto arg (int id) const -> format_arg
 
auto arg (string_view name) -> format_arg
 
FMT_CONSTEXPR auto arg_id (string_view name) -> int
 
auto args () const -> const basic_format_args< context > &
 
FMT_CONSTEXPR auto out () -> iterator
 
void advance_to (iterator)
 
FMT_CONSTEXPR auto locale () -> detail::locale_ref
 

Member Typedef Documentation

◆ char_type

using context::char_type = char

The character type for the output.

Constructor & Destructor Documentation

◆ context()

FMT_CONSTEXPR context::context ( iterator  out,
basic_format_args< context >  ctx_args,
detail::locale_ref  loc = {} 
)
inline

Constructs a basic_format_context object. References to the arguments are stored in the object so make sure they have appropriate lifetimes.


The documentation for this class was generated from the following file: