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

Name

Description

txt

The character array literal to copy from; must be null‐terminated at index N

Created with MrDocs