tfel
Loading...
Searching...
No Matches
tfel::math::StandardArrayPolicy< ValueType, IndexingPolicyType > Struct Template Reference

a standard array policy. More...

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

Inheritance diagram for tfel::math::StandardArrayPolicy< ValueType, IndexingPolicyType >:
tfel::math::StandardArrayPolicyAliases< ValueType >

Public Types

using storage_type = ValueType
 type of the values hold by the array.
using IndexingPolicy = IndexingPolicyType
 the underlying indexing policy
Public Types inherited from tfel::math::StandardArrayPolicyAliases< ValueType >
using value_type = ValueType
 type of the values hold by the array.
using const_value_type = const value_type
 const type of the values hold by the array.
using reference = value_type&
 type of a const reference to the value contained.
using const_reference = const value_type&
 type of a const reference to the value contained.

Static Public Member Functions

static constexpr StandardArrayPolicy::const_reference make_const_reference (const typename StandardArrayPolicy::storage_type &v) noexcept
 make a const_reference from a const reference to a base type
static constexpr StandardArrayPolicy::reference make_reference (typename StandardArrayPolicy::storage_type &v) noexcept
 make a reference from a reference to a base type

Static Public Attributes

static constexpr auto isMakeConstReferenceTrivial = true
static constexpr auto isMakeReferenceTrivial = true

Detailed Description

template<typename ValueType, typename IndexingPolicyType>
struct tfel::math::StandardArrayPolicy< ValueType, IndexingPolicyType >

a standard array policy.


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