Shortcuts

Template Struct PointerWrapper

Struct Documentation

template<typename T>
struct ripple::PointerWrapper

The PointerWrapper class stores a type T and provides pointer like access to the type T.

That is, the semantics of the PointerWrapper and a pointer are the same.

Template Parameters
  • T: The type to wrap with pointer like access.

Public Functions

PointerWrapper(T data) noexcept

Constructor to create the wrapper.

Parameters
  • data: The data to wrap as a pointer.

auto operator->() noexcept -> T*

Overload of the access operator to access the type T with pointer like syntax.

Return

A pointer to the wrapped type.

auto operator->() const noexcept -> const T*

Overload of the access operator to access the type T with const pointer like access.

Return

A const pointer to the wrapped type.

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