Policy that clamps the value to [min, max].
Saturates out-of-range values to the nearest boundary. Use when you want to "correct" invalid values rather than signal an error.
| Name | Description |
|---|---|
operator() | Clamps v to [min, max]. |
| Name | Description |
|---|---|
max | The upper boundary of the allowed range |
min | The lower boundary of the allowed range |