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);
Prepend a translated literal to a value of the right operand's type.
template<typename T>
T
operator+(
TranslatedLiteral const& lhs,
T const& rhs);
Return Value
-
The concatenation of lhs and the converted rhs.
-
The concatenation of the converted lhs and rhs.
Parameters
Name |
Description |
lhs |
The left operand. |
rhs |
The translated literal, converted to T before concatenation. |
Created with MrDocs