mp_units::basic_fixed_string::at

Accesses the character at the given position, with bounds checking

Synopsis

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

[[nodiscard]]
constexpr
const_reference
at(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