BloombergLP::bslfmt::FormatterSpecificationNumericValue::postprocess

Resolve a nested argument id into a concrete numeric value.

Synopsis

Declared in <bslfmt_formatterspecificationnumericvalue.h>

template<typename t_FORMAT_CONTEXT>
void
postprocess(t_FORMAT_CONTEXT const& context);

Description

If this object holds a non-dynamic nested value (i.e., d_type is e_ARG_ID) update its value using the arguments stored in the specified context and update the type to e_VALUE. If this object holds a dynamic nested value (i.e., d_type is e_NEXT_ARG) throw an exception of type format_error. Otherwise do nothing.

Parameters

NameDescription
contextformat context holding arguments for nested values