19#ifndef BLE_COMMON_BOUNDED_H_
20#define BLE_COMMON_BOUNDED_H_
36template<
typename Rep, Rep Min, Rep Max>
89 static const Rep
MIN = Min;
94 static const Rep
MAX = Max;
102template<
typename T, T Min, T Max>
105template<
typename T, T Min, T Max>
Entry namespace for all BLE API definitions.
Restrict values of an integer type to a defined range.
static const Rep MAX
The right-bound value.
static const Rep MIN
The left-bound value.
static Rep min()
The left-bound value.
Rep value() const
Access the inner value.
static Rep max()
The right-bound value.
Bounded(Rep v)
Construct a bounded integer.