mp_units::basic_fixed_string::operator[]

Accesses the character at the given position, without bounds checking

Synopsis

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

[[nodiscard]]
constexpr
const_reference
operator[](size_type pos) const;

Return Value

The character at position pos

NOTE

The return value should not be discarded.

Parameters

NameDescription
posPosition of the character to return