<mp-units/framework/symbol_text.h>
template<
std::size_t N,
std::size_t M>
class symbol_text;
Name | Description |
---|---|
symbol_text [constructor] | Constructors |
ascii | |
empty | |
portable | |
unicode | |
utf8 |
Name |
---|
portable_ |
utf8_ |
Name | Description |
---|---|
operator== |
Equality operator |
operator<=> |
Three-way comparison operator |
operator+ |
Addition operator |
This class template is responsible for definition and handling of a symbol text representation. In the libary it is used to define symbols of units and prefixes. Each symbol can have two versions: UTF-8 and portable.
Name | Description |
---|---|
N | The size of a UTF-8 symbol |
M | The size of the portable symbol |