sbepp
|
Built-in int8
required type.
More...
#include <sbepp.hpp>
Static Public Member Functions | |
static constexpr value_type | min_value () noexcept |
Returns minValue attribute. | |
static constexpr value_type | max_value () noexcept |
Returns maxValue attribute. | |
Additional Inherited Members | |
Public Types inherited from sbepp::detail::required_base< std::int8_t, int8_t > | |
using | value_type |
Underlying type. | |
Public Member Functions inherited from sbepp::detail::required_base< std::int8_t, int8_t > | |
required_base ()=default | |
Default constructor. Constructs value-initialized object. | |
constexpr | required_base (value_type val) noexcept |
Constructs from given value. | |
constexpr value_type | value () const noexcept |
Returns underlying value. | |
constexpr value_type & | operator* () noexcept |
Returns reference to underlying value. | |
constexpr value_type | operator* () const noexcept |
Returns underlying value. | |
constexpr bool | in_range () const noexcept |
Checks if value is in [Derived::min_value(); Derived::max_value()] range. | |
Built-in int8
required type.
Also works as a tag for its traits