Typedefs | |
| template<typename Cat > | |
| using | category_of = typename category_of_type< Cat >::type |
| template<typename R > | |
| using | invert_t = typename invert_ratio< R >::type |
| template<typename R > | |
| using | simplify_ratio = typename ratio_simplifier< R >::type |
| template<typename T > | |
| using | quantity_value_t = typename quantity_value_type< T >::type |
Functions | |
| template<typename Ratio , typename Value > | |
| static constexpr auto | applyRatioToValue (Value &&v) |
Applies the specified Ratio to the value in v. More... | |
Variables | |
| template<typename Obj > | |
| constexpr bool | has_category_v = has_category<Obj>() |
| template<typename U > | |
| constexpr bool | has_unit_v = has_unit<U>() |
Trait: true if U is a ScaledUnit-based object. More... | |
| template<typename Q > | |
| constexpr bool | is_quantity_v = is_quantity<Q>() |
Trait: true if Q is a Quantity specialization. More... | |
| template<typename Q > | |
| constexpr bool | has_quantity_v = has_quantity<Q>() |
Trait: true if Q is a Quantity-based object. More... | |
| template<typename T , typename Q > | |
| constexpr bool | is_value_compatible_with_v = is_value_compatible_with<T, Q>() |
Trait: true if the type T is compatible with the value of Q. More... | |
| template<typename T , typename U > | |
| constexpr bool | has_value_compatible_with_v = has_value_compatible_with<T, U>() |
Trait: true if the value type of T is compatible with U's. More... | |
| using util::quantities::concepts::details::category_of = typedef typename category_of_type<Cat>::type |
Definition at line 36 of file intervals.h.
| using util::quantities::concepts::details::invert_t = typedef typename invert_ratio<R>::type |
Definition at line 243 of file quantities.h.
| using util::quantities::concepts::details::quantity_value_t = typedef typename quantity_value_type<T>::type |
Type of value of T: may be T or, for objects with units, T::value_t.
Definition at line 288 of file quantities.h.
| using util::quantities::concepts::details::simplify_ratio = typedef typename ratio_simplifier<R>::type |
Definition at line 249 of file quantities.h.
|
static |
Applies the specified Ratio to the value in v.
Definition at line 236 of file quantities.h.
| constexpr bool util::quantities::concepts::details::has_category_v = has_category<Obj>() |
Definition at line 1049 of file intervals.h.
| constexpr bool util::quantities::concepts::details::has_quantity_v = has_quantity<Q>() |
Trait: true if Q is a Quantity-based object.
Definition at line 276 of file quantities.h.
| constexpr bool util::quantities::concepts::details::has_unit_v = has_unit<U>() |
Trait: true if U is a ScaledUnit-based object.
Definition at line 260 of file quantities.h.
| constexpr bool util::quantities::concepts::details::has_value_compatible_with_v = has_value_compatible_with<T, U>() |
Trait: true if the value type of T is compatible with U's.
Definition at line 318 of file quantities.h.
| constexpr bool util::quantities::concepts::details::is_quantity_v = is_quantity<Q>() |
Trait: true if Q is a Quantity specialization.
Definition at line 268 of file quantities.h.
| constexpr bool util::quantities::concepts::details::is_value_compatible_with_v = is_value_compatible_with<T, Q>() |
Trait: true if the type T is compatible with the value of Q.
Definition at line 301 of file quantities.h.
1.8.5