[#BloombergLP-bslfmt-StreamedFormatter-parse]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/StreamedFormatter.adoc[StreamedFormatter]::parse
:relfileprefix: ../../../
:mrdocs:

Parse and validate the specification string stored in the iterator accessed via the `begin()` method of the parseContext passed via the specified `parseContext` parameter&period; Where nested parameters are encountered in the specification string then the `next&lowbar;arg&lowbar;id` and `check&lowbar;arg&lowbar;id` are called on `fc` as specified in the C&plus;&plus; Standard&period; Return an end iterator of the parsed range&period; Throw an exception of type `bsl&colon;&colon;format&lowbar;error` in the event of failure&period;

== Synopsis

Declared in `&lt;bslfmt&lowbar;streamedformatter&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;PARSE&lowbar;CONTEXT&gt;
constexpr
t&lowbar;PARSE&lowbar;CONTEXT::iterator
parse(t&lowbar;PARSE&lowbar;CONTEXT& parseContext);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
