Shortcuts

Template Struct ArrayTraits< Array< Impl > >

Struct Documentation

template<typename Impl>
struct ripple::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, typename L = ContiguousOwned>
using ImplType = 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.

Docs

Access comprehensive developer documentation for Ripple

View Docs

Tutorials

Get tutorials to help with understand all features

View Tutorials

Examples

Find examples to help get started

View Examples