mp_units::basic_fixed_string::basic_fixed_string

Constructs the string from a null-terminated character array literal

Synopsis

Declared in <mp-units/ext/fixed_string.h>

[[nodiscard]]
consteval
explicit(false)
basic_fixed_string(CharT const(& txt)[]) noexcept;

Return Value

NOTE

The return value should not be discarded.

Parameters

NameDescription
txtThe character array literal to copy from; must be null-terminated at index N