[#BloombergLP-bslfmt-FormatSpecificationParser-localeSpecificFlag]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/FormatSpecificationParser.adoc[FormatSpecificationParser]::localeSpecificFlag
:relfileprefix: ../../../
:mrdocs:

Return whether a locale&hyphen;specific formatting flag was parsed&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
bool
localeSpecificFlag() const;
----

== Description

Return true if parsing detected a locale&hyphen;specific formatting flag in the specification, otherwise return false&period; If `parse` has not previously been called throw a `format&lowbar;error` exception&period;

== Return Value

`true` if the locale&hyphen;specific flag was present, else `false`


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