|
HikoGUI
A low latency retained GUI
|
Public Types | |
| using | value_type = T |
Public Member Functions | |
| fixed (fixed const &)=default | |
| fixed & | operator= (fixed const &)=default |
| fixed (fixed &&)=default | |
| fixed & | operator= (fixed &&)=default |
| constexpr | fixed (std::floating_point auto other) noexcept |
| constexpr | fixed (std::integral auto other) noexcept |
| fixed (std::string const &other) | |
| constexpr fixed & | operator= (std::floating_point auto other) noexcept |
| constexpr fixed & | operator= (std::integral auto other) noexcept |
| fixed & | operator= (std::string const &other) |
| template<std::floating_point O> | |
| operator O () const noexcept | |
| template<std::integral O> | |
| operator O () const noexcept | |
| std::string | string () const noexcept |
Static Public Member Functions | |
| static fixed | from_raw_value (T value) noexcept |
Data Fields | |
| T | value |
Static Public Attributes | |
| static constexpr int | multiplier = M |
Friends | |
| constexpr friend bool | operator== (fixed const &lhs, fixed const &rhs) noexcept |
| constexpr friend auto | operator<=> (fixed const &lhs, fixed const &rhs) noexcept |
| constexpr friend fixed | operator+ (fixed const &lhs, fixed const &rhs) noexcept |
| constexpr friend fixed | operator- (fixed const &lhs, fixed const &rhs) noexcept |
| std::string | to_string (fixed const v) |
| std::ostream & | operator<< (std::ostream &lhs, fixed const &rhs) |