template<typename T>
((requires(const T& v) {
{
} -> std::same_as<const typename QuantityTraits<T>::ValueType&>;
}) ||
(requires(const T& v) {
{
} -> std::same_as<typename QuantityTraits<T>::ValueType>;
})))
Definition Forward/qt.hxx:127
Definition Forward/Unit.hxx:138
TFEL_HOST_DEVICE constexpr decltype(auto) base_type_cast(const Quantity< UnitType, ValueType, OwnershipPolicy > &v) noexcept
cast the value to the base type
Definition qt.hxx:531