Parse the format specification from the specified context.
Declared in <bdldfp_decimal.h>
template<class t_PARSE_CONTEXT>
constexpr
void
parse(t_PARSE_CONTEXT* context);
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.
| Name | Description |
|---|---|
| context | format context used to resolve nested arguments |