[#BloombergLP-bslfmt-FormatSpecificationParser-parse] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/FormatSpecificationParser.adoc[FormatSpecificationParser]::parse :relfileprefix: ../../../ :mrdocs: Parse the string contained by the specified input/output `parseContext` to extract the items indicated by the specified `sections`, update this object with the parsing result and update the iterator held by `parseContext` to point to the start of the unparsed section of the string. In the event of an error throw a `format_error` exception. == Synopsis Declared in `<bslfmt_formatspecificationparser.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_PARSE_CONTEXT> constexpr void parse( t_PARSE_CONTEXT* parseContext, xref:BloombergLP/bslfmt/FormatSpecificationParserEnums/Sections.adoc[Sections] sections); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#