[#mp_units-get_common_unit-0d]
= xref:mp_units.adoc[mp&lowbar;units]::get&lowbar;common&lowbar;unit
:relfileprefix: ../
:mrdocs:

== Synopsis

Declared in `&lt;mp&hyphen;units&sol;framework&sol;unit&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    xref:mp_units/Unit.adoc[Unit] U1,
    &sol;&ast; implementation-defined &ast;&sol; U2&gt;
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
consteval
xref:mp_units/Unit.adoc[Unit] auto
get&lowbar;common&lowbar;unit(
    U1 u1,
    U2 u2);
----


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