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.

Synopsis

Declared in <bslfmt_format_arg.h>

class handle;

Member Functions

Name

Description

format

Format the contained value using a formatter for the template parameter t_TYPE used in the construction of this object. The constructed formatter will parse the specification in the specified pc context and write the output to the specified fc context.

Friends

Name

Description

BloombergLP::bslfmt::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.

Created with MrDocs