[#mp_units-quantity_point-08-force_in-01]
= xref:mp_units.adoc[mp&lowbar;units]::xref:mp_units/quantity_point-08.adoc[quantity&lowbar;point]::force&lowbar;in
:relfileprefix: ../../
:mrdocs:

Deprecated&period; Returns this quantity point re&hyphen;expressed with another representation type, truncating if inexact&period;

== Synopsis

Declared in `&lt;mp&hyphen;units&sol;framework&sol;quantity&lowbar;point&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;xref:mp_units/RepresentationOf.adoc[RepresentationOf&lt;quantity&lowbar;spec&gt;] ToRep&gt;
requires std&colon;&colon;constructible&lowbar;from&lt;ToRep, rep&gt;
&lsqb;&lsqb;deprecated(&quot;2&period;6&period;0&colon; use &grave;in&lt;Rep&gt;(policy)&grave; with a rounding policy (e&period;g&period; &grave;truncated&grave;) instead&quot;), nodiscard&rsqb;&rsqb;
constexpr
xref:mp_units/QuantityPointOf.adoc[QuantityPointOf&lt;quantity&lowbar;spec&gt;] auto
force&lowbar;in() const;
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]: 2&period;6&period;0&colon; use &grave;in&lt;Rep&gt;(policy)&grave; with a rounding policy (e&period;g&period; &grave;truncated&grave;) instead. Use of this entity is allowed but discouraged.
====
== Return Value

The equivalent quantity point with representation type `ToRep`&period;

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

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