Template Struct ArrayTraits< Array< Impl > >¶
Defined in File array_traits.hpp
Struct Documentation¶
-
template<typename
Impl
>
structripple
::
ArrayTraits
<Array<Impl>>¶ Specialization of the ArrayTraits class for the any class which implements the array interface.
- Template Parameters
Impl
: The implementation type of the array interface.
Public Types
-
using
Value
= typename Traits::Value¶ Defines the value type of the array.
-
using
Layout
= typename Traits::Layout¶ Defines the type of the layout for the array.
-
using
Array
= typename Traits::Array¶ Defines the type of an array of the value type.
-
template<size_t
Elements
, typenameL
= ContiguousOwned>
usingImplType
= typename Traits::template ImplType<Elements, L>¶ A type with the same type as the implementation with the given number of elements and layout.
- Template Parameters
Elements
: The number of elements in the vector.L
: The layout for the the vector.
Public Static Attributes
-
constexpr auto
size
= Traits::size¶ Returns the number of elements in the array.