MGIS 3.1.0
Loading...
Searching...
No Matches
mgis::function::QuantityConcept Concept Reference

concept defining the types which are quantities of real numbers More...

#include </home/runner/work/MFrontGenericInterfaceSupport/MFrontGenericInterfaceSupport/include/MGIS/Function/TFEL/Quantity.hxx>

Concept definition

template<typename T>
concept mgis::function::QuantityConcept = (::tfel::math::QuantityConcept<std::decay_t<T>>)&&(
std::same_as<::tfel::math::base_type<std::decay_t<T>>, real>)
concept defining the types which are quantities of real numbers
Definition Quantity.hxx:134
mgis_real real
alias to the numeric type used
Definition Config.hxx:140

Detailed Description

concept defining the types which are quantities of real numbers

A type matches this concept if, once the qualifiers removed, it is a TFEL quantity, i.e. a value associated with a physical unit, whose underlying numeric type is real, whatever the way the value is owned (by value, by mutable reference or by read-only reference)

Template Parameters
Ttype to be tested