Template Struct ArrayTraits¶
Defined in File array_traits.hpp
Struct Documentation¶
-
template<typename
T>
structripple::ArrayTraits¶ This structs defines traits for arrays.
This implementation is the default implementation and is for a type which is not an array. It needs to be specialzied for any type which does implement the interface.
- Template Parameters
T: The type to get the array traits for.
Public Types
-
using
Layout= ContiguousOwned¶ Defines the type of the layout for the array.
-
template<size_t
Elements, typenameL= ContiguousOwned>
usingImplType= VecImpl<Value, Num<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= 1¶ Returns the number of elements in the array.