[#BloombergLP-bdlt-Literal_SpecifierFormatter-parseNextSpecifier]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/Literal_SpecifierFormatter.adoc[Literal&lowbar;SpecifierFormatter]::parseNextSpecifier
:relfileprefix: ../../../
:mrdocs:

Parse the next recognized specifier character from `spec`&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;literal&lowbar;specifierformatter&period;h&gt;`

[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`&period; If that character matches any of those recognized by this specifier formatter, increment `d&lowbar;totalWidth`, pop the first character off of `spec` and return `true`, otherwise return `false`&period; The behavior is undefined if `&ast;spec` is empty&period;

== 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]#
