tfel
Loading...
Searching...
No Matches
tfel::math::ArrayConcept Concept Reference

definition of the ArrayConcept concept a class matching the array concept must expose the ArrayTag and have access operators. More...

#include </home/runner/work/tfel/tfel/include/TFEL/Math/Array/ArrayConcept.hxx>

Concept definition

template<typename ArrayType>
(std::is_same_v<typename std::decay_t<ArrayType>::ConceptTag,
ArrayTag>)&&
(requires(const ArrayType t, const index_type<ArrayType> i) {
t[i];
}) &&
(requires(const ArrayType t, const index_type<ArrayType> i) { t(i); })
definition of the ArrayConcept concept a class matching the array concept must expose the ArrayTag an...
Definition ArrayConcept.hxx:49
typename MathObjectTraits< std::decay_t< MathObjectType > >::size_type index_type
a simple alias
Definition MathObjectTraits.hxx:86
Helper class to characterise arrays.
Definition ArrayConcept.hxx:32

Detailed Description

definition of the ArrayConcept concept a class matching the array concept must expose the ArrayTag and have access operators.