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.
Declared in <bslfmt_format_arg.h>
template<
class t_OUT,
class t_CHAR>
class basic_format_arg<basic_format_context<t_OUT, t_CHAR>>;
| 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 |
|---|
BoolType |
UnspecifiedBoolType |
| Name | Description |
|---|---|
basic_format_arg [constructor] | Create a basic_format_arg which holds a bsl::monostate. |
visit | Invoke the specified visitor functor on the value contained by this object, providing that functor non-modifiable access to that value. visitor must be a variant-style functor that is able to visit all supported types listed in the {DESCRIPTION}. |
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 | This class provides utility functions to enable manipulation of types declared by this component. It is solely for private use by other components of the bslfmt package and should not be used directly. |