|
HikoGUI
A low latency retained GUI
|
Public Types | |
| using | value_type = T |
Public Member Functions | |
| safe_int (safe_int const &)=default | |
| safe_int (safe_int &&)=default | |
| safe_int & | operator= (safe_int const &)=default |
| safe_int & | operator= (safe_int &&)=default |
| safe_int (std::integral auto const &other) noexcept(OnOverflow !=on_overflow_t::Throw) | |
| safe_int (std::floating_point auto const &other) noexcept(OnOverflow !=on_overflow_t::Throw) | |
| template<typename O , on_overflow_t OtherOnOverflow> | |
| safe_int (safe_int< O, OtherOnOverflow > const &other) noexcept(OnOverflow !=on_overflow_t::Throw) | |
| safe_int & | operator= (std::integral auto const &other) noexcept(OnOverflow !=on_overflow_t::Throw) |
| template<typename O , on_overflow_t OtherOnOverflow> | |
| safe_int & | operator= (safe_int< O, OtherOnOverflow > const &other) noexcept(OnOverflow !=on_overflow_t::Throw) |
| template<std::integral O> | |
| operator O () const noexcept(OnOverflow !=on_overflow_t::Throw) | |
| template<std::floating_point O> | |
| operator O () const noexcept | |
Data Fields | |
| T | value |
Static Public Attributes | |
| static constexpr on_overflow_t | on_overflow = OnOverflow |