Shortcuts

Template Struct StorageAs< Storage, T< Ts… > >

Struct Documentation

template<typename Storage, template<typename...> typename T, typename ...Ts>
struct ripple::detail::StorageAs<Storage, T<Ts...>>

Returns the type T with the same types Ts, except if any of the types Ts are StorageLayout types, then those types will be replaced by Storage.

Template Parameters
  • Storage: The desired storage type.

  • T: The type to specify the storage type for.

  • Ts: The template types for T.

Public Types

using Type = typename MakeStorageType<TypeList>::Type

Defines the type of the type T with a StorageElement type replaced by Storage.

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