Policy that wraps the value into the half-open range [min, max).]
Uses modulo arithmetic to wrap values into the range. Use for periodic/cyclic quantities (angles, time-of-day, etc.). For example, with [0°, 360°): 370° -> 10°, -10° -> 350°.]
| Name | Description |
|---|---|
operator() | Wraps v into the half-open range [min, max).] |
| Name | Description |
|---|---|
max | The upper boundary of the wrapping range (exclusive) |
min | The lower boundary of the wrapping range (inclusive) |