A symbol text representation

Synopsis

Declared in <mp‐units/framework/symbol_text.h>

template<
    std::size_t N,
    std::size_t M>
class symbol_text;

Member Functions

Name

Description

symbol_text [constructor]

Constructors

ascii

empty

portable

unicode

utf8

Data Members

Friends

Name

Description

mp_units::operator==

Equality operator

mp_units::operator<=>

Three‐way comparison operator

mp_units::operator+

Addition operator

Description

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.

Template Parameters

Name

Description

N

The size of a UTF‐8 symbol

M

The size of the portable symbol

Created with MrDocs