sandbox
|
Public Types | |
using | value_type = Type |
Public Member Functions | |
template<scalar Other> requires (std::is_convertible_v<Other, Type>) | |
constexpr | basic_degree (const Other value) noexcept |
template<floating_point Other> requires (std::is_convertible_v<Other, Type>) | |
constexpr | basic_degree (const basic_degree< Other > &other) noexcept |
template<floating_point Other> requires (std::is_convertible_v<Other, Type>) | |
constexpr auto | operator= (const basic_degree< Other > &other) noexcept -> basic_degree< Type > & |
template<floating_point Other> requires (std::is_convertible_v<Other, Type>) | |
constexpr auto | operator+= (const basic_degree< Other > &rhs) noexcept -> basic_degree< Type > & |
template<floating_point Other> requires (std::is_convertible_v<Other, Type>) | |
constexpr auto | operator-= (const basic_degree< Other > &rhs) noexcept -> basic_degree< Type > & |
template<floating_point Other> requires (std::is_convertible_v<Other, Type>) | |
constexpr auto | operator*= (const Other rhs) noexcept -> basic_degree< Type > & |
template<floating_point Other> requires (std::is_convertible_v<Other, Type>) | |
constexpr auto | operator/= (const Other rhs) noexcept -> basic_degree< Type > & |
constexpr auto | value () const noexcept -> value_type |
constexpr | operator value_type () const noexcept |
Static Public Attributes | |
static constexpr basic_degree | min {value_type{0}} |
static constexpr basic_degree | max {value_type{360}} |