[#BloombergLP-bslfmt-FormatSpecificationParser-alternativeFlag] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/FormatSpecificationParser.adoc[FormatSpecificationParser]::alternativeFlag :relfileprefix: ../../../ :mrdocs: Return whether an alternative processing flag was parsed. == Synopsis Declared in `<bslfmt_formatspecificationparser.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr bool alternativeFlag() const; ---- == Description Return true if parsing detected an alternative processing flag in the specification, otherwise return false. If `parse` has not previously been called throw a `format_error` exception. == Return Value `true` if the alternative flag was present, else `false` [.small]#Created with https://www.mrdocs.com[MrDocs]#