Parse the format specification in parseContext.

Synopsis

Declared in <bdlb_guidformatter.h>

template<class t_PARSE_CONTEXT>
constexpr
t_PARSE_CONTEXT::iterator
parse(t_PARSE_CONTEXT& parseContext);

Description

Parse the format specification contained in the specified parseContext and return an iterator, pointing to the beginning of the unparsed section of the format string. Throw a bsl::format_error exception if the specification does not conform to the grammar documented at the top of this component.

Return Value

iterator to the unparsed remainder of the format string

Parameters

Name

Description

parseContext

parse context holding the format specification

Created with MrDocs