[#mp_units-operator_plus-01] = xref:mp_units.adoc[mp_units]::operator+ :relfileprefix: ../ :mrdocs: Addition operator == Synopsis Declared in `<mp‐units/framework/symbol_text.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< std::size_t N, std::size_t M, std::size_t N2, std::size_t M2> [[nodiscard]] constexpr xref:mp_units/symbol_text-032.adoc[symbol_text<N + N2, M + M2>] operator+( xref:mp_units/symbol_text-032.adoc[symbol_text<N, M>] const& lhs, xref:mp_units/symbol_text-032.adoc[symbol_text<N2, M2>] const& rhs); ---- [NOTE] ==== This function is a https://en.cppreference.com/w/cpp/language/friend[hidden friend] of xref:mp_units/symbol_text-032.adoc[symbol_text], declared inside an implementation-defined base class: it can be found only through argument-dependent lookup. ==== == Return Value A symbol text representation [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | The left operand | *rhs* | The right operand |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#