Parse the format specification from the specified context.

Synopsis

Declared in <bdldfp_decimal.h>

template<class t_PARSE_CONTEXT>
constexpr
void
parse(t_PARSE_CONTEXT* context);

Description

Parse a decimal floating point format string using the iterator‐range from the specified context and if successful load the results into this object as well as set its status to e_PARSED; otherwise, if the format specification denoted by the context iterator‐range is not a valid decimal floating point format specification throw a bsl::format_error exception.

Parameters

Name

Description

context

format context used to resolve nested arguments

Created with MrDocs