Shortcuts

Variable ripple::index_of_v

Variable Documentation

template<typename T, typename ...Ts>
constexpr bool ripple::index_of_v = detail::IndexOf<0, T, Ts...>::value

Returns the index of the type T in the pack Ts.

If T is not in the pack, this will return sizeof…(Ts) + 1. It will also return false for types with template types, unless they match exactly.

Template Parameters
  • T: The type to search for the index of.

  • Ts: The list of types to search in.

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