SimulationCraft
SimulationCraft is a tool to explore combat mechanics in the popular MMO RPG World of Warcraft (tm).
basic_printf_context< OutputIt, Char > Class Template Reference

Public Types

using char_type = Char
 
using format_arg = basic_format_arg< basic_printf_context >
 
using parse_context_type = basic_printf_parse_context< Char >
 
template<typename T >
using formatter_type = printf_formatter< T >
 

Public Member Functions

 basic_printf_context (OutputIt out, basic_format_args< basic_printf_context > args)
 Constructs a printf_context object. More...
 
OutputIt out ()
 
void advance_to (OutputIt it)
 
detail::locale_ref locale ()
 
format_arg arg (int id) const
 
FMT_CONSTEXPR void on_error (const char *message)
 

Constructor & Destructor Documentation

◆ basic_printf_context()

template<typename OutputIt, typename Char>
basic_printf_context< OutputIt, Char >::basic_printf_context ( OutputIt  out,
basic_format_args< basic_printf_context< OutputIt, Char > >  args 
)
inline

Constructs a printf_context object.

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