Shortcuts

Typedef ripple::make_invocable_t

Typedef Documentation

template<typename T>
using ripple::make_invocable_t = std::conditional_t<is_invocable_v<std::decay_t<T>>, T, Invocable<std::decay_t<T>>>

Returns the type T as Invocable<std::decay_t<T>> if T is not already invocable.

It returns a decayed version of T because the Invocable type always owns the callable.

Template Parameters
  • T: The type to check and potentially make invocable.

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