|
| T | value_as_base_unit () const |
| |
template<typename U1>
requires SameScale<U, U1> |
| auto | operator<=> (const quantity< U1, T > &rhl) const |
| |
template<typename U1>
requires SameScale<U, U1> |
| bool | operator< (const quantity< U1, T > &rhl) const |
| |
template<typename U1>
requires SameScale<U, U1> |
| bool | operator== (const quantity< U1, T > &rhl) const |
| |
template<typename T1>
requires (not QuantityConcept<T1>) |
| auto | operator<=> (const T1 &rhl) const |
| |
template<typename T1>
requires (not QuantityConcept<T1>) |
| bool | operator< (const T1 &rhl) const |
| |
template<typename T1>
requires (not QuantityConcept<T1>) |
| bool | operator== (const T1 &rhl) const |
| |
template<typename U1>
requires SameScale<U, U1> |
| quantity< R(frac< R(U), R(U)>), T > | operator/ (const quantity< U1, T > &rhl) const |
| |
template<typename U1>
requires (!SameScale<U, U1>) |
| quantity< R(frac< R(U), R(U1)>), T > | operator/ (const quantity< U1, T > &rhl) const |
| |
template<typename T1>
requires (not QuantityConcept<T1>) |
| quantity< R(U), T > | operator/ (const T1 &rhl) const |
| |
template<typename U1>
requires SameScale<U, U1> |
| quantity< R(mul< R(U), R(U)>), T > | operator* (const quantity< U1, T > &rhl) const |
| |
template<typename U1>
requires (!SameScale<U, U1>) |
| quantity< R(mul< R(U), R(U1)>), T > | operator* (const quantity< U1, T > &rhl) const |
| |
template<typename T1>
requires (not QuantityConcept<T1>) |
| quantity< R(U), T > | operator* (const T1 &rhl) const |
| |
template<typename U1, typename T1>
requires (SameScale<U, U1>) |
| quantity< R(U), T1 > | operator+ (const quantity< U1, T1 > &rhl) const |
| |
template<typename U1, typename T1>
requires (SameScale<U, U1>) |
| quantity< R(U), T1 > & | operator+= (const quantity< U1, T1 > &rhl) |
| |
template<typename U1, typename T1>
requires (SameScale<U, U1>) |
| quantity< R(U), T1 > | operator- (const quantity< U1, T1 > &rhl) const |
| |
template<typename U1, typename T1>
requires (SameScale<U, U1>) |
| quantity< R(U), T1 > & | operator-= (const quantity< U1, T1 > &rhl) |
| |
| quantity< U, T > | operator- () const |
| |
| constexpr | quantity ()=default |
| |
| constexpr | quantity (T value_) |
| |
| template<typename T1> |
| | quantity (const quantity< U, T1 > &other) |
| | Copy.
|
| |
template<typename U1, typename T1>
requires ( not std::same_as<R(U), R(U1)> && (SameScale<U, U1> || Convertible<U, U1, T> || ConvertibleScales<typename U::scale, typename U1::scale, U, U1, T>) ) |
| | quantity (const quantity< U1, T1 > &other) |
| | Copy.
|
| |
| template<typename T1> |
| quantity & | operator= (const quantity< U, T1 > &rhl) |
| | Copy.
|
| |
template<typename U1, typename T1>
requires ( not std::same_as<R(U), R(U1)> && (SameScale<U, U1> || Convertible<U, U1, T> || ConvertibleScales<typename U::scale, typename U1::scale, U, U1, T>) ) |
| quantity & | operator= (const quantity< U1, T1 > &rhl) |
| | Copy.
|
| |
| template<typename T1> |
| | quantity (quantity< U, T1 > &&other) noexcept |
| | Move.
|
| |
template<typename U1, typename T1>
requires ( not std::same_as<R(U), R(U1)> && (SameScale<U, U1> || Convertible<U, U1, T> || ConvertibleScales<typename U::scale, typename U1::scale, U, U1, T>) ) |
| | quantity (quantity< U1, T1 > &&other) |
| | Move.
|
| |
| template<typename T1> |
| quantity & | operator= (quantity< U, T1 > &&rhl) noexcept |
| | Move.
|
| |
template<typename U1, typename T1>
requires ( not std::same_as<R(U), R(U1)> && (SameScale<U, U1> || Convertible<U, U1, T> || ConvertibleScales<typename U::scale, typename U1::scale, U, U1, T>) ) |
| quantity & | operator= (quantity< U1, T1 > &&rhl) |
| | Move.
|
| |
template<typename U1>
requires SameScale<U, U1> || Convertible<U, U1, T> || ConvertibleScales<typename U::scale, typename U1::scale, U, U1, T> |
| constexpr quantity< U1, T > | as () const |
| |
| std::string | to_string () const noexcept |
| |
template<typename U, typename T>
struct quantify::quantity< U, T >
Definition at line 30 of file quantity.cppm.