BloombergLP::bslfmt::StreamedFormatter::format

Format the specified value according to the specification stored as a result of a previous call to the parse method, and write the result to the iterator accessed by calling the out() method on the specified formatContext parameter. Return an end iterator of the output range. Throw an exception of type bsl::format_error in the event of failure.

Synopsis

Declared in <bslfmt_streamedformatter.h>

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