[#mp_units-basic_fixed_string-08-2constructor-0f] = xref:mp_units.adoc[mp_units]::xref:mp_units/basic_fixed_string-08.adoc[basic_fixed_string]::basic_fixed_string :relfileprefix: ../../ :mrdocs: Constructs the string from a null‐terminated character array literal == Synopsis Declared in `<mp‐units/ext/fixed_string.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] consteval explicit(false) basic_fixed_string(CharT const(& txt)[]) noexcept; ---- == Return Value [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | Name| Description | *txt* | The character array literal to copy from; must be null‐terminated at index `N` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#