|
using | dimension_type = Dimension |
|
using | value_type = Representation |
|
using | ratio_type = Ratio |
|
|
template<std::convertible_to< value_type > Type> |
constexpr | quantity (Type value) noexcept |
|
template<representation OtherRepresentation, ratio OtherRatio = ratio_type> |
constexpr | quantity (const quantity< dimension_type, OtherRepresentation, OtherRatio > &other) noexcept |
|
constexpr | quantity (const quantity &other) noexcept=default |
|
constexpr | quantity (quantity &&other) noexcept=default |
|
constexpr auto | operator= (const quantity &other) noexcept -> quantity &=default |
|
constexpr auto | operator= (quantity &&other) noexcept -> quantity &=default |
|
template<representation OtherRepresentation, ratio OtherRatio> |
constexpr auto | operator= (const quantity< dimension_type, OtherRepresentation, OtherRatio > &other) noexcept -> quantity & |
|
template<representation OtherRepresentation, ratio OtherRatio> |
constexpr auto | operator+= (const quantity< dimension_type, OtherRepresentation, OtherRatio > &other) noexcept -> quantity & |
|
template<representation OtherRepresentation, ratio OtherRatio> |
constexpr auto | operator-= (const quantity< dimension_type, OtherRepresentation, OtherRatio > &other) noexcept -> quantity & |
|
constexpr auto | operator- () const noexcept -> quantity |
|
constexpr auto | value () const noexcept -> value_type |
|
constexpr | operator value_type () const noexcept |
|
The documentation for this class was generated from the following file: