Checks that v lies within [`min`, max]and reports a violation otherwise.

Synopsis

Declared in <mp‐units/overflow_policies.h>

template<Quantity V>
constexpr
V
operator()(V v) const;

Return Value

v unchanged, if it is within bounds

Parameters

Name

Description

v

the value to check

Created with MrDocs