Parse the next recognized specifier character from spec.
Synopsis
Declared in <bdlt_literal_specifierformatter.h>
constexpr
bool
parseNextSpecifier(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
Name |
Description |
spec |
input specifier string view to parse |
Created with MrDocs