[#absl-FormatConversionSpec-has_alt_flag]
= xref:absl.adoc[absl]::xref:absl/FormatConversionSpec.adoc[FormatConversionSpec]::has&lowbar;alt&lowbar;flag
:relfileprefix: ../../
:mrdocs:

Indicates whether an &quot;alternate&quot; format is applied to the result for this conversion character&period;

== Synopsis

Declared in `&lt;absl&sol;strings&sol;str&lowbar;format&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
has&lowbar;alt&lowbar;flag() const;
----

== Description

Alternative forms depend on the type of conversion character, and unallowed alternatives are undefined&period; This flag is set through use of a &apos;&num;&apos; character in the format string&period; E&period;g&period; &quot;%&num;h&quot;

== Return Value

`true` if the alternate&hyphen;format flag is set&period;


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