|
| GREM_ALWAYS_INLINE constexpr | Quantity ()=default |
| GREM_ALWAYS_INLINE constexpr | Quantity (const Quantity &)=default |
| GREM_ALWAYS_INLINE constexpr | Quantity (Quantity &&) noexcept=default |
| GREM_ALWAYS_INLINE constexpr Quantity & | operator= (const Quantity &)=default |
| GREM_ALWAYS_INLINE constexpr Quantity & | operator= (Quantity &&) noexcept=default |
| GREM_ALWAYS_INLINE constexpr | ~Quantity ()=default |
| GREM_ALWAYS_INLINE constexpr | Quantity (Zero) |
| GREM_ALWAYS_INLINE constexpr | Quantity (floating_point auto value) |
template<unit OtherUnitT>
requires (!same_as<OtherUnitT, UnitT> && OtherUnitT::DIMENSION == DIMENSION && (OtherUnitT::MagnitudeType::IS_ABSOLUTE == MagnitudeType::IS_ABSOLUTE || !OtherUnitT::MagnitudeType::IS_ABSOLUTE)) |
| GREM_ALWAYS_INLINE constexpr | Quantity (const Quantity< 1, OtherUnitT > &q) |
template<typename Rep, typename Period>
requires (DIMENSION == TIME && MagnitudeType::VALUE == 1.0l && !MagnitudeType::IS_ABSOLUTE) |
| GREM_ALWAYS_INLINE constexpr | Quantity (const DurationBase< Rep, Period > &duration) |
| GREM_ALWAYS_INLINE constexpr Quantity & | operator= (Zero) |
| GREM_ALWAYS_INLINE constexpr bool | operator== (const Quantity &other) const noexcept |
template<typename OtherUnitT>
requires (UnitT{} == OtherUnitT{}) |
| GREM_ALWAYS_INLINE constexpr bool | operator== (const Quantity< 1, OtherUnitT > &other) const noexcept |
| GREM_ALWAYS_INLINE constexpr auto | operator<=> (const Quantity &other) const noexcept |
template<typename OtherUnitT>
requires (UnitT{} == OtherUnitT{}) |
| GREM_ALWAYS_INLINE constexpr auto | operator<=> (const Quantity< 1, OtherUnitT > &other) const noexcept |
template<arithmetic Arithmetic>
requires (DIMENSION == DIMENSIONLESS && MagnitudeType::VALUE == 1.0l) |
| GREM_ALWAYS_INLINE constexpr bool | operator== (Arithmetic other) const noexcept |
template<arithmetic Arithmetic>
requires (DIMENSION == DIMENSIONLESS && MagnitudeType::VALUE == 1.0l) |
| GREM_ALWAYS_INLINE constexpr auto | operator<=> (Arithmetic other) const noexcept |
| GREM_ALWAYS_INLINE constexpr bool | operator== (Zero) const noexcept |
| GREM_ALWAYS_INLINE constexpr auto | operator<=> (Zero) const noexcept |
template<typename Rep, typename Period>
requires (DIMENSION == TIME && !MagnitudeType::IS_ABSOLUTE) |
| GREM_ALWAYS_INLINE constexpr bool | operator== (const DurationBase< Rep, Period > &other) const noexcept |
template<typename Rep, typename Period>
requires (DIMENSION == TIME && !MagnitudeType::IS_ABSOLUTE) |
| GREM_ALWAYS_INLINE constexpr auto | operator<=> (const DurationBase< Rep, Period > &other) const noexcept |
| GREM_ALWAYS_INLINE constexpr | operator float () const |
| GREM_ALWAYS_INLINE constexpr | operator double () const |
| GREM_ALWAYS_INLINE constexpr | operator DurationBase< float, Ratio< 1, 1 > > () const |
| GREM_ALWAYS_INLINE constexpr | operator DurationBase< double, Ratio< 1, 1 > > () const |
| GREM_ALWAYS_INLINE constexpr | operator Duration () const |
template<unit OtherUnitT>
requires (OtherUnitT::DIMENSION == DIMENSION) |
| GREM_ALWAYS_INLINE constexpr Quantity< 1, Unitless > | in (OtherUnitT) const |
template<unit OtherUnitT>
requires (OtherUnitT::DIMENSION == DIMENSION && (OtherUnitT::MagnitudeType::IS_ABSOLUTE == MagnitudeType::IS_ABSOLUTE || OtherUnitT::MagnitudeType::IS_ABSOLUTE)) |
| GREM_ALWAYS_INLINE constexpr Quantity< 1, OtherUnitT > | as (OtherUnitT) const |
| GREM_ALWAYS_INLINE constexpr size_t | size () const noexcept |
| GREM_ALWAYS_INLINE size_t | getMinIndex () const |
| GREM_ALWAYS_INLINE size_t | getMaxIndex () const |