a structure gathering access methods for const arrays.
More...
#include </home/runner/work/tfel/tfel/include/TFEL/Math/Array/ArrayCommonMethods.hxx>
|
|
using | array_policy = ArrayPolicyType |
| | exposing the array policy
|
|
using | indexing_policy = typename ArrayPolicyType::IndexingPolicy |
| | exposing the indexing policy
|
|
| TFEL_HOST_DEVICE constexpr ArrayPolicyType::const_reference | operator[] (const typename ArrayPolicyType::IndexingPolicy::size_type) const noexcept |
| | access operator
|
| TFEL_HOST_DEVICE constexpr ArrayPolicyType::const_reference | operator[] (const std::array< typename ArrayPolicyType::IndexingPolicy::size_type, ArrayPolicyType::IndexingPolicy::arity > &) const noexcept |
| | access operator
|
| template<typename... Indices> |
| TFEL_HOST_DEVICE constexpr ArrayPolicyType::const_reference | operator() (const Indices...) const noexcept |
| | access operator
|
| TFEL_HOST_DEVICE constexpr ArrayPolicyType::const_reference | operator() (const std::array< typename ArrayPolicyType::IndexingPolicy::size_type, ArrayPolicyType::IndexingPolicy::arity > &) const noexcept |
| | access operator
|
|
template<typename... Indices> |
| constexpr ArrayPolicyType::const_reference | operator() (const Indices... i) const noexcept |
template<typename Child, typename ArrayPolicyType>
struct tfel::math::ConstArrayCommonMethods< Child, ArrayPolicyType >
a structure gathering access methods for const arrays.
- Template Parameters
-
| Child | child class |
| ArrayPolicy | array policy |
◆ operator()() [1/2]
template<typename Child, typename ArrayPolicyType>
template<typename... Indices>
access operator
- Returns
- a reference to the data associated with the given indices
- Parameters
-
◆ operator()() [2/2]
template<typename Child, typename ArrayPolicyType>
| ArrayPolicyType::const_reference tfel::math::ConstArrayCommonMethods< Child, ArrayPolicyType >::operator() |
( |
const std::array< typename ArrayPolicyType::IndexingPolicy::size_type, ArrayPolicyType::IndexingPolicy::arity > & | i | ) |
const |
|
constexprnoexcept |
access operator
- Returns
- a reference to the data associated with the given indices
- Parameters
-
◆ operator[]() [1/2]
template<typename Child, typename ArrayPolicyType>
| ArrayPolicyType::const_reference tfel::math::ConstArrayCommonMethods< Child, ArrayPolicyType >::operator[] |
( |
const std::array< typename ArrayPolicyType::IndexingPolicy::size_type, ArrayPolicyType::IndexingPolicy::arity > & | i | ) |
const |
|
constexprnoexcept |
access operator
- Returns
- a reference to the data associated with the given indices
- Parameters
-
◆ operator[]() [2/2]
template<typename Child, typename ArrayPolicyType>
| ArrayPolicyType::const_reference tfel::math::ConstArrayCommonMethods< Child, ArrayPolicyType >::operator[] |
( |
const typename ArrayPolicyType::IndexingPolicy::size_type | i | ) |
const |
|
constexprnoexcept |
access operator
- Returns
- a reference to the data associated with the given index
- Parameters
-
The documentation for this struct was generated from the following files: