AUI Framework
develop
Cross-platform base for C++ UI apps
|
Clamps the possible values for a number to the specified range: [min;max]. More...
#include <AUI/Traits/values.h>
Public Member Functions | |
ranged_number (UnderlyingType value) | |
operator UnderlyingType () const | |
Static Public Attributes | |
static constexpr auto | MIN = min |
static constexpr auto | MAX = max |
Clamps the possible values for a number to the specified range: [min;max].
UnderlyingType | any arithmetic type |
min | minimum possible value |
max | maximum possible value |