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

Addition operators

== Synopses

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

Addition operator


[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, 1 &plus; N&gt;]
xref:mp_units/operator_plus-07.adoc[operator&plus;](
    CharT const lhs,
    xref:mp_units/basic_fixed_string-08.adoc[basic&lowbar;fixed&lowbar;string] const& rhs) noexcept;
----

[.small]#xref:mp_units/operator_plus-07.adoc[_» more&period;&period;&period;_]#


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
xref:mp_units/Quantity.adoc[Quantity] auto
xref:mp_units/operator_plus-0f.adoc[operator&plus;](
    Q const& lhs,
    Value const& rhs);
----

[.small]#xref:mp_units/operator_plus-0f.adoc[_» more&period;&period;&period;_]#


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
xref:mp_units/Quantity.adoc[Quantity] auto
xref:mp_units/operator_plus-06d.adoc[operator&plus;](
    Q const& lhs,
    xref:mp_units/quantity-01.adoc[quantity&lt;R2, Rep2&gt;] const& rhs);
----

[.small]#xref:mp_units/operator_plus-06d.adoc[_» more&period;&period;&period;_]#


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
xref:mp_units/QuantityPoint.adoc[QuantityPoint] auto
xref:mp_units/operator_plus-09.adoc[operator&plus;](
    QP const& qp,
    xref:mp_units/quantity-01.adoc[quantity&lt;R2, Rep2&gt;] const& q)
requires requires &lcub; qp&period;quantity&lowbar;ref&lowbar;from(PO) &plus; q&semi; &rcub;;
----

[.small]#xref:mp_units/operator_plus-09.adoc[_» more&period;&period;&period;_]#


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
xref:mp_units/Quantity.adoc[Quantity] auto
xref:mp_units/operator_plus-0b.adoc[operator&plus;](
    Value const& lhs,
    Q const& rhs);
----

[.small]#xref:mp_units/operator_plus-0b.adoc[_» more&period;&period;&period;_]#

Addition operator


[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; 1&gt;]
xref:mp_units/operator_plus-0e3.adoc[operator&plus;](
    xref:mp_units/basic_fixed_string-08.adoc[basic&lowbar;fixed&lowbar;string] const& lhs,
    CharT rhs) noexcept;
----

[.small]#xref:mp_units/operator_plus-0e3.adoc[_» more&period;&period;&period;_]#

Addition operator


[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;]
xref:mp_units/operator_plus-0e6.adoc[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;
----

[.small]#xref:mp_units/operator_plus-0e6.adoc[_» more&period;&period;&period;_]#

Addition operator


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

[.small]#xref:mp_units/operator_plus-0ec.adoc[_» more&period;&period;&period;_]#

Addition operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
xref:mp_units/symbol_text-032.adoc[symbol&lowbar;text&lt;N &plus; N2, M &plus; M2&gt;]
xref:mp_units/operator_plus-0e1.adoc[operator&plus;](
    xref:mp_units/symbol_text-032.adoc[symbol&lowbar;text] const& lhs,
    xref:mp_units/symbol_text-032.adoc[symbol&lowbar;text&lt;N2, M2&gt;] const& rhs);
----

[.small]#xref:mp_units/operator_plus-0e1.adoc[_» more&period;&period;&period;_]#


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
xref:mp_units/QuantityPoint.adoc[QuantityPoint] auto
xref:mp_units/operator_plus-02.adoc[operator&plus;](
    xref:mp_units/quantity-01.adoc[quantity&lt;R1, Rep1&gt;] const& q,
    QP const& qp)
requires requires &lcub; q &plus; qp&period;quantity&lowbar;ref&lowbar;from(PO)&semi; &rcub;;
----

[.small]#xref:mp_units/operator_plus-02.adoc[_» more&period;&period;&period;_]#

Addition operator


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

[.small]#xref:mp_units/operator_plus-067.adoc[_» more&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
