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

Public Types

using value_type = T
 

Public Member Functions

 fixed (fixed const &)=default
 
fixedoperator= (fixed const &)=default
 
 fixed (fixed &&)=default
 
fixedoperator= (fixed &&)=default
 
template<typename O , std::enable_if_t< std::is_floating_point_v< O >, int > = 0>
constexpr fixed (O other) noexcept
 
template<typename O , std::enable_if_t< std::is_integral_v< O >, int > = 0>
constexpr fixed (O other) noexcept
 
 fixed (std::string const &other)
 
template<typename O , std::enable_if_t< std::is_floating_point_v< O >, int > = 0>
constexpr fixedoperator= (O other) noexcept
 
template<typename O , std::enable_if_t< std::is_integral_v< O >, int > = 0>
constexpr fixedoperator= (O other) noexcept
 
fixedoperator= (std::string const &other)
 
template<typename O , std::enable_if_t< std::is_floating_point_v< O >, int > = 0>
 operator O () const noexcept
 
template<typename O , std::enable_if_t< std::is_integral_v< O >, int > = 0>
 operator O () const noexcept
 
std::string string () const noexcept
 

Static Public Member Functions

static fixed fromValue (T value) noexcept
 

Data Fields

value
 

Static Public Attributes

static constexpr int multiplier = M
 

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