[#mp_units-utility-detail-same_sign_v]
= xref:mp_units.adoc[mp&lowbar;units]::xref:mp_units/utility.adoc[utility]::xref:mp_units/utility/detail.adoc[detail]::same&lowbar;sign&lowbar;v
: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; A,
    &sol;&ast; implementation-defined &ast;&sol; B&gt;
inline constexpr bool same&lowbar;sign&lowbar;v = is&lowbar;signed&lowbar;v&lt;A&gt; &equals;&equals; is&lowbar;signed&lowbar;v&lt;B&gt;;
----


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