AUI Framework
master
Cross-platform module-based framework for developing C++20 desktop applications
|
Clamps the possible values for a number to the specified range: [min;max]. More...
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 |
Public Member Functions | |
ranged_number (UnderlyingType value) | |
operator UnderlyingType () const | |
Static Public Attributes | |
static constexpr auto | MIN = min |
static constexpr auto | MAX = max |
#include <AUI/Traits/values.h>