[#mp_units-wrap_to_range-operator_call] = xref:mp_units.adoc[mp_units]::xref:mp_units/wrap_to_range.adoc[wrap_to_range]::operator() :relfileprefix: ../../ :mrdocs: Wraps `v` into the half‐open range [`min`, `max`).] == Synopsis Declared in `<mp‐units/overflow_policies.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<xref:mp_units/Quantity-0c.adoc[Quantity] V> constexpr V operator()(V v) const; ---- == Return Value `v` shifted by a multiple of `max ‐ min` so that it lies in [`min`, `max`)] == Parameters [cols="1,4"] |=== | Name| Description | *v* | the value to wrap |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#