[#absl-AlphaNum-2constructor-019]
= xref:absl.adoc[absl]::xref:absl/AlphaNum.adoc[AlphaNum]::AlphaNum
:relfileprefix: ../../
:mrdocs:

Constructs an `AlphaNum` from a scoped enum&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename T&gt;
requires std&colon;&colon;is&lowbar;enum&lt;T&gt;&lcub;&rcub; &amp;&amp;
                                             !std&colon;&colon;is&lowbar;convertible&lt;T, int&gt;&lcub;&rcub; &amp;&amp;
                                             !HasAbslStringify&lt;T&gt;&colon;&colon;value
AlphaNum(T e);
----

== Description

Casts to the underlying type, then uses integral promotion for the same reason as the unscoped enum overload&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *e*
| The enum value to convert&period;
|===


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