Shortcuts

Template Struct FunctionTypes

Struct Documentation

template<typename Return, typename Class, bool IsConst, bool IsVariadic, typename ...Args>
struct ripple::detail::FunctionTypes

Defines a class for types in a function.

Template Parameters
  • Return: The return type of the function.

  • Class: The class type of the function.

  • IsConst: If the function is const.

  • IsVariadic: If the function is variadic.

  • Args: The type of the arguments for the function.

Public Types

using ReturnType = Return

Defines the return type of the function.

using ClassType = Class

Defins the class type of the function.

template<size_t I>
using ArgType = typename NthElement<I, Args...>::type

Defines the type of the Ith argument.

Template Parameters
  • I: The index of the argument to get.

Public Static Attributes

constexpr auto arity = size_t{sizeof...(Args)}

Defines the arity of the function.

constexpr auto is_const = IsConst

Defines if the function is const.

constexpr auto is_variadic = IsVariadic

Defines if the function is variadic.

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