13 value = (value <
min) ?
min : ((value >
max) ?
max : value);
20 bool isInside(
const T& value,
const bool including_min_max =
false)
const
22 if (including_min_max) {
23 return (value >=
min) && (value <=
max);
26 return (value >
min) && (value <
max);
32 const bool including_min_max =
false)