WPILibC++ 2025.1.1
Loading...
Searching...
No Matches
generic_context< OutputIt, Char > Class Template Reference

#include <fmt/format.h>

Public Types

enum  { builtin_types = FMT_BUILTIN_TYPES }
 
using char_type = Char
 
using iterator = OutputIt
 
using FMT_DEPRECATED = parse_context<Char>
 
using FMT_DEPRECATED = formatter<T, Char>
 

Public Member Functions

constexpr generic_context (OutputIt out, basic_format_args< generic_context > args, detail::locale_ref loc={})
 
 generic_context (generic_context &&)=default
 
 generic_context (const generic_context &)=delete
 
void operator= (const generic_context &)=delete
 
constexpr auto arg (int id) const -> basic_format_arg< generic_context >
 
auto arg (basic_string_view< Char > name) const -> basic_format_arg< generic_context >
 
constexpr auto arg_id (basic_string_view< Char > name) const -> int
 
constexpr auto out () const -> iterator
 
void advance_to (iterator it)
 
constexpr auto locale () const -> detail::locale_ref
 

Member Typedef Documentation

◆ char_type

template<typename OutputIt , typename Char >
using generic_context< OutputIt, Char >::char_type = Char

◆ FMT_DEPRECATED [1/2]

template<typename OutputIt , typename Char >
using generic_context< OutputIt, Char >::FMT_DEPRECATED = parse_context<Char>

◆ FMT_DEPRECATED [2/2]

template<typename OutputIt , typename Char >
using generic_context< OutputIt, Char >::FMT_DEPRECATED = formatter<T, Char>

◆ iterator

template<typename OutputIt , typename Char >
using generic_context< OutputIt, Char >::iterator = OutputIt

Member Enumeration Documentation

◆ anonymous enum

template<typename OutputIt , typename Char >
anonymous enum
Enumerator
builtin_types 

Constructor & Destructor Documentation

◆ generic_context() [1/3]

template<typename OutputIt , typename Char >
generic_context< OutputIt, Char >::generic_context ( OutputIt out,
basic_format_args< generic_context< OutputIt, Char > > args,
detail::locale_ref loc = {} )
inlineconstexpr

◆ generic_context() [2/3]

template<typename OutputIt , typename Char >
generic_context< OutputIt, Char >::generic_context ( generic_context< OutputIt, Char > && )
default

◆ generic_context() [3/3]

template<typename OutputIt , typename Char >
generic_context< OutputIt, Char >::generic_context ( const generic_context< OutputIt, Char > & )
delete

Member Function Documentation

◆ advance_to()

template<typename OutputIt , typename Char >
void generic_context< OutputIt, Char >::advance_to ( iterator it)
inline

◆ arg() [1/2]

template<typename OutputIt , typename Char >
auto generic_context< OutputIt, Char >::arg ( basic_string_view< Char > name) const -> basic_format_arg<generic_context>
inline

◆ arg() [2/2]

template<typename OutputIt , typename Char >
auto generic_context< OutputIt, Char >::arg ( int id) const -> basic_format_arg<generic_context>
inlineconstexpr

◆ arg_id()

template<typename OutputIt , typename Char >
auto generic_context< OutputIt, Char >::arg_id ( basic_string_view< Char > name) const -> int
inlineconstexpr

◆ locale()

template<typename OutputIt , typename Char >
auto generic_context< OutputIt, Char >::locale ( ) const -> detail::locale_ref
inlineconstexpr

◆ operator=()

template<typename OutputIt , typename Char >
void generic_context< OutputIt, Char >::operator= ( const generic_context< OutputIt, Char > & )
delete

◆ out()

template<typename OutputIt , typename Char >
auto generic_context< OutputIt, Char >::out ( ) const -> iterator
inlineconstexpr

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