Loading...
Searching...
No Matches
Public Types |
Public Member Functions |
Private Member Functions |
Private Attributes |
List of all members
basic_format_args< Context > Class Template Reference
Detailed Descriptiontemplate<typename Context> class basic_format_args< Context > \rst A view of a collection of formatting arguments. To avoid lifetime issues it should only be used as a parameter type in type-erased functions such as void vlog(string_view format_str, format_args args); // OK format_args args = make_format_args(42); // Error: dangling reference \endrst Member Typedef Documentation◆ format_arg
template<typename Context >
◆ size_typeConstructor & Destructor Documentation◆ basic_format_args() [1/6]
template<typename Context >
◆ basic_format_args() [2/6]
template<typename Context >
◆ basic_format_args() [3/6]
template<typename Context >
◆ basic_format_args() [4/6]
template<typename Context >
template<typename... Args>
\rst Constructs a ◆ basic_format_args() [5/6]
template<typename Context >
\rst Constructs a ◆ basic_format_args() [6/6]
template<typename Context >
\rst Constructs a Member Function Documentation◆ get() [1/2]
template<typename Context >
template<typename Char >
Definition at line 1910 of file core.h. References basic_format_args< Context >::get(), and basic_format_args< Context >::get_id(). ◆ get() [2/2]
template<typename Context >
Returns the argument with the specified id. Definition at line 1897 of file core.h. References arg(), basic_format_args< Context >::args_, basic_format_args< Context >::is_packed(), detail::max_packed_args, basic_format_args< Context >::max_size(), detail::none_type, basic_format_args< Context >::type(), basic_format_arg< Context >::type_, and basic_format_args< Context >::values_. Referenced by basic_format_context< OutputIt, Char >::arg(), basic_format_context< OutputIt, Char >::arg(), basic_printf_context< OutputIt, Char >::arg(), basic_format_args< Context >::get(), and detail::vformat(). ◆ get_id()
template<typename Context >
template<typename Char >
Definition at line 1915 of file core.h. References basic_format_args< Context >::args_, basic_format_args< Context >::has_named_args(), basic_format_args< Context >::is_packed(), basic_format_arg< Context >::value_, and basic_format_args< Context >::values_. Referenced by basic_format_context< OutputIt, Char >::arg_id(), and basic_format_args< Context >::get(). ◆ has_named_args()
template<typename Context >
Definition at line 1850 of file core.h. References basic_format_args< Context >::desc_, and detail::has_named_args_bit. Referenced by basic_format_args< Context >::get_id(). ◆ is_packed()
template<typename Context >
Definition at line 1849 of file core.h. References basic_format_args< Context >::desc_, and detail::is_unpacked_bit. Referenced by basic_format_args< Context >::get(), basic_format_args< Context >::get_id(), and basic_format_args< Context >::max_size(). ◆ max_size()
template<typename Context >
Definition at line 1925 of file core.h. References basic_format_args< Context >::desc_, basic_format_args< Context >::is_packed(), and detail::max_packed_args. Referenced by basic_format_args< Context >::get(). ◆ type()
template<typename Context >
Definition at line 1854 of file core.h. References basic_format_args< Context >::desc_, and detail::packed_arg_bits. Referenced by basic_format_args< Context >::get(). Member Data Documentation◆ [union]
◆ args_
template<typename Context >
Definition at line 1846 of file core.h. Referenced by basic_format_args< Context >::get(), and basic_format_args< Context >::get_id(). ◆ desc_
template<typename Context >
Definition at line 1838 of file core.h. Referenced by basic_format_args< Context >::has_named_args(), basic_format_args< Context >::is_packed(), basic_format_args< Context >::max_size(), and basic_format_args< Context >::type(). ◆ values_
template<typename Context >
Definition at line 1845 of file core.h. Referenced by basic_format_args< Context >::get(), and basic_format_args< Context >::get_id().
|