cxxomfort  rel.20210622
Simple backports for C++ - http://ryan.gulix.cl/fossil.cgi/cxxomfort/
List of all members
static_clamp< T, t, m, M > Struct Template Reference

Defines the member value which is t, constrained to the range [m,M]. More...

Detailed Description

template<typename T, T t, T m, T M>
struct cxxomfort::st_math::static_clamp< T, t, m, M >

Defines the member value which is t, constrained to the range [m,M].

Template Parameters
TType of the numeric value to use in the template
See also
std::clamp
Precondition
m < M

The documentation for this struct was generated from the following file: