[#BloombergLP-bdlt-Literal_SpecifierFormatter-parseNextSpecifier] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/Literal_SpecifierFormatter.adoc[Literal_SpecifierFormatter]::parseNextSpecifier :relfileprefix: ../../../ :mrdocs: Parse the next recognized specifier character from `spec`. == Synopsis Declared in `<bdlt_literal_specifierformatter.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr bool parseNextSpecifier(xref:BloombergLP/bdlt/Literal_SpecifierFormatter.adoc[StringView]* spec); ---- == Description Parse the front character of the specified `spec`. If that character matches any of those recognized by this specifier formatter, increment `d_totalWidth`, pop the first character off of `spec` and return `true`, otherwise return `false`. The behavior is undefined if `*spec` is empty. == Return Value `true` if a recognized specifier was parsed == Parameters [cols="1,4"] |=== | Name| Description | *spec* | input specifier string view to parse |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#