[#mp_units-operator_plus-0e6]
= xref:mp_units.adoc[mp&lowbar;units]::operator&plus;
:relfileprefix: ../
:mrdocs:

Addition operator

== Synopsis

Declared in `&lt;mp&hyphen;units&sol;ext&sol;fixed&lowbar;string&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
xref:mp_units/basic_fixed_string-08.adoc[basic&lowbar;fixed&lowbar;string&lt;CharT, N &plus; N2&gt;]
operator&plus;(
    xref:mp_units/basic_fixed_string-08.adoc[basic&lowbar;fixed&lowbar;string] const& lhs,
    xref:mp_units/basic_fixed_string-08.adoc[basic&lowbar;fixed&lowbar;string&lt;CharT, N2&gt;] const& rhs) noexcept;
----

== Return Value

A compile&hyphen;time fixed string

[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]#
