Shortcuts

Template Struct Element

Struct Documentation

template<size_t Index, typename T>
struct ripple::detail::Element

Defines a struct to hold an element at a specific index in a container.

Template Parameters
  • Index: The index of the element being held.

  • T: The type of the element.

Public Functions

constexpr Element() = default

Default constructor which just initializes the stored type.

template<typename E>
constexpr Element(E &&element) noexcept

Constructor to set the value of the element.

Parameters
  • element: The element to use to set this Element’s data.

Template Parameters
  • E: The type of the element.

Public Members

T value

The value of the element.

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