HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Data Fields | Static Public Attributes
v1::safe_int< T, OnOverflow > Struct Template Reference

Public Types

using value_type = T
 

Public Member Functions

 safe_int (safe_int const &)=default
 
 safe_int (safe_int &&)=default
 
safe_intoperator= (safe_int const &)=default
 
safe_intoperator= (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_intoperator= (std::integral auto const &other) noexcept(OnOverflow !=on_overflow_t::Throw)
 
template<typename O , on_overflow_t OtherOnOverflow>
safe_intoperator= (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

value
 

Static Public Attributes

static constexpr on_overflow_t on_overflow = OnOverflow
 

The documentation for this struct was generated from the following file: