[#mp_units-utility-detail-add_overflows]
= xref:mp_units.adoc[mp&lowbar;units]::xref:mp_units/utility.adoc[utility]::xref:mp_units/utility/detail.adoc[detail]::add&lowbar;overflows
:relfileprefix: ../../../
:mrdocs:

== Synopsis

Declared in `&lt;mp&hyphen;units&sol;utility&sol;safe&lowbar;int&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;&sol;&ast; implementation-defined &ast;&sol; T&gt;
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
bool
add&lowbar;overflows(
    T lhs,
    T rhs) noexcept;
----

== Return Value

[NOTE]
====
The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^].
====

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