[#mp_units-reflect_in_range] = xref:mp_units.adoc[mp_units]::reflect_in_range :relfileprefix: ../ :mrdocs: Policy that reflects (folds) the value at both boundaries. == Synopsis Declared in `<mp‐units/overflow_policies.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<xref:mp_units/Quantity.adoc[Quantity] Q> struct reflect_in_range; ---- == Description Values that exceed [min, max]are "bounced back" from the boundary. For example, with latitude[‐90, 90]: 91 ‐> 89, 180 ‐> 0, 270 ‐> ‐90. == Member Functions [cols=1] |=== | Name | xref:mp_units/reflect_in_range/operator_call.adoc[`operator()`] |=== == Data Members [cols=1] |=== | Name | xref:mp_units/reflect_in_range/max.adoc[`max`] | xref:mp_units/reflect_in_range/min.adoc[`min`] |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#