STL-compliant format argument holding a value for formatting.
Declared in <bslfmt_format_arg.h>
template<
class t_OUT,
class t_CHAR>
class basic_format_arg<basic_format_context<t_OUT, t_CHAR>>;
This class provides an STL-compliant basic_format_arg which holds (by value for scalar and pointer types, by reference for user-defined types). These types should not be constructed directly by the user.
| Name | Description |
|---|---|
handle | This class provides a type-erased wrapper which holds a pointer to a user-defined type and permits its formatting using the appropriate bsl::formatter type. |
| Name | Description |
|---|---|
BoolType | Alias for the unspecified boolean conversion type used by this class. |
UnspecifiedBoolType | Alias for bsls::UnspecifiedBool specialized on this class. |
| Name | Description |
|---|---|
basic_format_arg [constructor] | Create a basic_format_arg which holds a bsl::monostate. |
visit | Invoke visitor on the value contained by this object. |
operator BoolType | Return whether this object holds a value. |
| Name | Description |
|---|---|
BloombergLP::bslfmt::swap | Exchange the values of the specified lhs and rhs. |
BloombergLP::bslfmt::Format_ArgUtil | Component-private utilities for constructing format-argument arrays. |