tfel
Loading...
Searching...
No Matches
tfel::math::const_qt_ref< UnitType, ValueType > Struct Template Reference

a simple alias More...

Inheritance diagram for tfel::math::const_qt_ref< UnitType, ValueType >:
tfel::math::Quantity< UnitType, ValueType, tfel::math::internals::QuantityReferenceOwnershipPolicy< const ValueType, unit::areUnitsEqual< UnitType, unit::NoUnit > > > tfel::math::internals::QuantityReferenceOwnershipPolicy< const ValueType, unit::areUnitsEqual< UnitType, unit::NoUnit > >

Public Member Functions

template<ImmutableQuantityConcept QuantityType>
requires ((unit::areUnitsEqual<quantity_unit<QuantityType>, UnitType>)&&( std::same_as<ValueType, base_type<QuantityType>>))
constexpr const_qt_ref (const QuantityType &src) noexcept
constexpr const_qt_ref (const ValueType &src) noexcept
constexpr const_qt_ref (const_qt_ref &&) noexcept=default
constexpr const_qt_ref (const const_qt_ref &) noexcept=default
Public Member Functions inherited from tfel::math::Quantity< UnitType, ValueType, tfel::math::internals::QuantityReferenceOwnershipPolicy< const ValueType, unit::areUnitsEqual< UnitType, unit::NoUnit > > >
TFEL_HOST_DEVICE constexpr Quantity (const OtherQuantityType &src) noexcept
TFEL_HOST_DEVICE constexpr Quantity & operator= (const T &src) noexcept
TFEL_HOST_DEVICE constexpr Quantity & operator+= (const T &src) noexcept
TFEL_HOST_DEVICE constexpr Quantity & operator-= (const T &src) noexcept
TFEL_HOST_DEVICE constexpr Quantity & operator*= (const ValueType2 &a) noexcept
 multiplication by a scalar
TFEL_HOST_DEVICE constexpr Quantity & operator/= (const ValueType2 &a) noexcept
 division by a scalar
TFEL_HOST_DEVICE constexpr qt< UnitType, ValueType > operator- () const noexcept
 negation operator
Public Member Functions inherited from tfel::math::internals::QuantityReferenceOwnershipPolicy< const ValueType, unit::areUnitsEqual< UnitType, unit::NoUnit > >
constexpr QuantityReferenceOwnershipPolicy () noexcept=default
 default constructor
TFEL_HOST_DEVICE constexpr ValueType & getValue () noexcept
 return the value
constexpr QuantityReferenceOwnershipPolicy & operator= (const QuantityReferenceOwnershipPolicy &) noexcept=default
 assignement operator
TFEL_HOST_DEVICE constexpr operator T& () noexcept
 conversion operator
TFEL_HOST_DEVICE constexpr operator const T & () const noexcept
 conversion operator
 ~QuantityReferenceOwnershipPolicy () noexcept=default
 destructor

Additional Inherited Members

Public Types inherited from tfel::math::Quantity< UnitType, ValueType, tfel::math::internals::QuantityReferenceOwnershipPolicy< const ValueType, unit::areUnitsEqual< UnitType, unit::NoUnit > > >
using promote
 a simple alias
using value_type
 a simple alias
Static Public Attributes inherited from tfel::math::Quantity< UnitType, ValueType, tfel::math::internals::QuantityReferenceOwnershipPolicy< const ValueType, unit::areUnitsEqual< UnitType, unit::NoUnit > > >
static constexpr auto is_mutable

Detailed Description

template<unit::UnitConcept UnitType, StandardArithmeticTypeConcept ValueType>
struct tfel::math::const_qt_ref< UnitType, ValueType >

a simple alias


The documentation for this struct was generated from the following files: