mp_units::basic_fixed_string

A compile-time fixed string

Synopsis

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

template<
    typename CharT,
    std::size_t N>
class basic_fixed_string;

Type Aliases

Name
const_iterator
const_pointer
const_reference
const_reverse_iterator
difference_type
iterator
pointer
reference
reverse_iterator
size_type
value_type

Member Functions

NameDescription
basic_fixed_string [constructor]Constructors
operator= Copy assignment operator
at
back
begin
c_str
cbegin
cend
crbegin
crend
data
end
front
operator[]
rbegin
rend
swap
view
operator std::basic_string_view<CharT> Conversion to basic_string_view

Data Members

Name
data_

Static Data Members

Name
empty
length
max_size
size

Friends

NameDescription
mp_units::operator<<Stream insertion operator
mp_units::operator<=>Three-way comparison operator
mp_units::operator<=>Three-way comparison operator
mp_units::operator==Equality operator
mp_units::operator==Equality operator
mp_units::operator+Addition operator
mp_units::operator+Addition operator
mp_units::operator+Addition operator
mp_units::operator+Addition operator
mp_units::operator+Addition operator

Template Parameters

NameDescription
CharTCharacter type to be used by the string
NThe size of the string