Wraps v into the half‐open range [`min`, max).]

Synopsis

Declared in <mp‐units/overflow_policies.h>

template<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

Name

Description

v

the value to wrap

Created with MrDocs