BloombergLP::bslfmt::FormatterPointer_Nullptr::format

Format a bsl::nullptr_t value into formatContext.

Synopsis

Declared in <bslfmt_formatterpointer.h>

template<class t_FORMAT_CONTEXT>
t_FORMAT_CONTEXT::iterator
format(
    bsl::nullptr_t value,
    t_FORMAT_CONTEXT& formatContext) const;

Description

Create string representation of the bsl::nullptr_t object, customized in accordance with the requested format and the specified formatContext, and copy it to the output that the output iterator of the formatContext points to.

Return Value

output iterator after writing

Parameters

NameDescription
valuenull pointer value to format
formatContextoutput context receiving the formatted result