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;


Types

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

Member Functions

Name Description
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

|===
Name Description
operator<< Stream insertion operator
operator<=> Three-way comparison operator
operator<=> Three-way comparison operator
operator== Equality operator
operator== Equality operator
operator+ Addition operator
operator+ Addition operator
operator+ Addition operator
operator+ Addition operator
operator+ Addition operator

Template Parameters

Name Description
CharT Character type to be used by the string
N The size of the string

Created with MrDocs