mp_units::symbol_text::symbol_text

Constructs a symbol text from a narrow string literal

Synopsis

Declared in <mp-units/framework/symbol_text.h>

[[nodiscard]]
consteval
explicit(false)
symbol_text(char const(& txt)[]);

Return Value

NOTE

The return value should not be discarded.

Parameters

NameDescription
txtstring literal used for both the UTF-8 and the portable rendering