util::operator+

Addition operators

Synopses

Declared in <util/translation.h>

Append a translated literal to a value of the left operand's type.

template<typename T>
T
operator+(
    T const& lhs,
    TranslatedLiteral const& rhs);
» more...

Prepend a translated literal to a value of the right operand's type.

template<typename T>
T
operator+(
    TranslatedLiteral const& lhs,
    T const& rhs);
» more...

Return Value

  • The concatenation of lhs and the converted rhs.
  • The concatenation of the converted lhs and rhs.

Parameters

NameDescription
lhsThe left operand.
rhsThe translated literal, converted to T before concatenation.