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

Constructors

== Synopses

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

Deleted copy constructor&semi; `AlphaNum` is not copyable&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/AlphaNum/2constructor-05.adoc[AlphaNum](xref:absl/AlphaNum.adoc[AlphaNum] const& other) = delete;
----

[.small]#xref:absl/AlphaNum/2constructor-05.adoc[_» more&period;&period;&period;_]#

Deleted&colon; use string literals &quot;&colon;&quot; instead of character literals &apos;&colon;&apos;&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/AlphaNum/2constructor-032.adoc[AlphaNum](char c) = delete;
----

[.small]#xref:absl/AlphaNum/2constructor-032.adoc[_» more&period;&period;&period;_]#

Constructs an `AlphaNum` from a `double`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/AlphaNum/2constructor-035.adoc[AlphaNum](double f);
----

[.small]#xref:absl/AlphaNum/2constructor-035.adoc[_» more&period;&period;&period;_]#

Constructs an `AlphaNum` from a `float`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/AlphaNum/2constructor-0c.adoc[AlphaNum](float f);
----

[.small]#xref:absl/AlphaNum/2constructor-0c.adoc[_» more&period;&period;&period;_]#

Constructs an `AlphaNum` from an `int`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/AlphaNum/2constructor-026.adoc[AlphaNum](int x);
----

[.small]#xref:absl/AlphaNum/2constructor-026.adoc[_» more&period;&period;&period;_]#

Constructs an `AlphaNum` from a `long`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/AlphaNum/2constructor-0e.adoc[AlphaNum](long x);
----

[.small]#xref:absl/AlphaNum/2constructor-0e.adoc[_» more&period;&period;&period;_]#

Constructs an `AlphaNum` from a `long long`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/AlphaNum/2constructor-0bf.adoc[AlphaNum](long long x);
----

[.small]#xref:absl/AlphaNum/2constructor-0bf.adoc[_» more&period;&period;&period;_]#

Constructs an `AlphaNum` from an `absl&colon;&colon;string&lowbar;view`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/AlphaNum/2constructor-033.adoc[AlphaNum](std::string&lowbar;view pc);
----

[.small]#xref:absl/AlphaNum/2constructor-033.adoc[_» more&period;&period;&period;_]#

Constructs an `AlphaNum` from an `unsigned int`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/AlphaNum/2constructor-0fc.adoc[AlphaNum](unsigned int x);
----

[.small]#xref:absl/AlphaNum/2constructor-0fc.adoc[_» more&period;&period;&period;_]#

Constructs an `AlphaNum` from an `unsigned long`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/AlphaNum/2constructor-011.adoc[AlphaNum](unsigned long x);
----

[.small]#xref:absl/AlphaNum/2constructor-011.adoc[_» more&period;&period;&period;_]#

Constructs an `AlphaNum` from an `unsigned long long`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/AlphaNum/2constructor-0b0.adoc[AlphaNum](unsigned long long x);
----

[.small]#xref:absl/AlphaNum/2constructor-0b0.adoc[_» more&period;&period;&period;_]#

Constructs an `AlphaNum` from a null&hyphen;terminated C string&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/AlphaNum/2constructor-0f2.adoc[AlphaNum](char const* c&lowbar;str);
----

[.small]#xref:absl/AlphaNum/2constructor-0f2.adoc[_» more&period;&period;&period;_]#

Constructs an `AlphaNum` from an unscoped enum&period;


[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
xref:absl/AlphaNum/2constructor-0f1.adoc[AlphaNum](T e);
----

[.small]#xref:absl/AlphaNum/2constructor-0f1.adoc[_» more&period;&period;&period;_]#

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


[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
xref:absl/AlphaNum/2constructor-019.adoc[AlphaNum](T e);
----

[.small]#xref:absl/AlphaNum/2constructor-019.adoc[_» more&period;&period;&period;_]#

Constructs an `AlphaNum` from a `std&colon;&colon;vector&lt;bool&gt;` element reference&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename T&gt;
requires std&colon;&colon;is&lowbar;class&lowbar;v&lt;T&gt; &amp;&amp;
          (std&colon;&colon;is&lowbar;same&lowbar;v&lt;T, std&colon;&colon;vector&lt;bool&gt;&colon;&colon;reference&gt; &verbar;&verbar;
           std&colon;&colon;is&lowbar;same&lowbar;v&lt;T, std&colon;&colon;vector&lt;bool&gt;&colon;&colon;const&lowbar;reference&gt;)
xref:absl/AlphaNum/2constructor-0f8.adoc[AlphaNum](T e);
----

[.small]#xref:absl/AlphaNum/2constructor-0f8.adoc[_» more&period;&period;&period;_]#

Deleted to prevent brace initialization&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename T&gt;
xref:absl/AlphaNum/2constructor-06.adoc[AlphaNum](std::initializer&lowbar;list&lt;T&gt; list) = delete;
----

[.small]#xref:absl/AlphaNum/2constructor-06.adoc[_» more&period;&period;&period;_]#

Constructs an `AlphaNum` from a fixed&hyphen;size conversion buffer&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;size&lowbar;t size&gt;
xref:absl/AlphaNum/2constructor-0d.adoc[AlphaNum](&sol;&ast; implementation-defined &ast;&sol; const& buf);
----

[.small]#xref:absl/AlphaNum/2constructor-0d.adoc[_» more&period;&period;&period;_]#

Constructs an `AlphaNum` from a `std&colon;&colon;basic&lowbar;string`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename Allocator&gt;
xref:absl/AlphaNum/2constructor-00.adoc[AlphaNum](std::basic&lowbar;string&lt;char, std::char&lowbar;traits&lt;char&gt;, Allocator&gt; const& str);
----

[.small]#xref:absl/AlphaNum/2constructor-00.adoc[_» more&period;&period;&period;_]#

Constructs an `AlphaNum` from a type with an `AbslStringify()` overload&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename T&gt;
requires HasAbslStringify&lt;T&gt;&colon;&colon;value
xref:absl/AlphaNum/2constructor-015.adoc[AlphaNum](
    T const& v,
    &sol;&ast; implementation-defined &ast;&sol;::StringifySink&& sink = &lcub;&rcub;);
----

[.small]#xref:absl/AlphaNum/2constructor-015.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *c*
| The character (not accepted)&period;
| *f*
| The value to convert&period;
| *x*
| The value to convert&period;
| *pc*
| The string view to convert&period;
| *c&lowbar;str*
| The null&hyphen;terminated string&semi; null produces no output&period;
| *e*
| The enum value to convert&period;
| *buf*
| The buffer holding the already&hyphen;converted characters&period;
| *str*
| The string to convert&period;
| *v*
| The value to stringify&period;
| *sink*
| The sink used to hold the stringified result&period;
|===


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