[#mp_units-basic_fixed_string-08-2constructor-01]
= xref:mp_units.adoc[mp&lowbar;units]::xref:mp_units/basic_fixed_string-08.adoc[basic&lowbar;fixed&lowbar;string]::basic&lowbar;fixed&lowbar;string
:relfileprefix: ../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;mp&hyphen;units&sol;ext&sol;fixed&lowbar;string&period;h&gt;`

Copy constructor


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:mp_units/basic_fixed_string-08/2constructor-08.adoc[basic&lowbar;fixed&lowbar;string](xref:mp_units/basic_fixed_string-08.adoc[basic&lowbar;fixed&lowbar;string] const& other) noexcept = default;
----

[.small]#xref:mp_units/basic_fixed_string-08/2constructor-08.adoc[_» more&period;&period;&period;_]#

Construct from `CharT`


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
consteval
explicit(false)
xref:mp_units/basic_fixed_string-08/2constructor-0f.adoc[basic&lowbar;fixed&lowbar;string](CharT const(& txt)[N &plus; 1]) noexcept;
----

[.small]#xref:mp_units/basic_fixed_string-08/2constructor-0f.adoc[_» more&period;&period;&period;_]#

Default constructor


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;std::same&lowbar;as&lt;CharT&gt;&period;&period;&period; Chars&gt;
requires (sizeof&period;&period;&period;(Chars) &equals;&equals; N) &amp;&amp; (&period;&period;&period; &amp;&amp; !std&colon;&colon;is&lowbar;pointer&lowbar;v&lt;Chars&gt;)
constexpr
explicit
xref:mp_units/basic_fixed_string-08/2constructor-02.adoc[basic&lowbar;fixed&lowbar;string](Chars&period;&period;&period; chars) noexcept;
----

[.small]#xref:mp_units/basic_fixed_string-08/2constructor-02.adoc[_» more&period;&period;&period;_]#


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;std::ranges::input&lowbar;range R&gt;
requires std&colon;&colon;same&lowbar;as&lt;std&colon;&colon;ranges&colon;&colon;range&lowbar;value&lowbar;t&lt;R&gt;, CharT&gt;
constexpr
xref:mp_units/basic_fixed_string-08/2constructor-09.adoc[basic&lowbar;fixed&lowbar;string](
    std::from&lowbar;range&lowbar;t,
    R&& r);
----

[.small]#xref:mp_units/basic_fixed_string-08/2constructor-09.adoc[_» more&period;&period;&period;_]#


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    std::input&lowbar;iterator It,
    std::sentinel&lowbar;for&lt;It&gt; S&gt;
requires std&colon;&colon;same&lowbar;as&lt;std&colon;&colon;iter&lowbar;value&lowbar;t&lt;It&gt;, CharT&gt;
constexpr
xref:mp_units/basic_fixed_string-08/2constructor-05.adoc[basic&lowbar;fixed&lowbar;string](
    It begin,
    S end);
----

[.small]#xref:mp_units/basic_fixed_string-08/2constructor-05.adoc[_» more&period;&period;&period;_]#


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