EnTT: entt::nth_argument< Index, Candidate > Class Template Reference

EnTT 3.16.0

Loading...
Searching...
No Matches
Public Types | List of all members
entt::nth_argument< Index, Candidate > Class Template Reference

Extracts the n-th argument of a callable type. More...

`#include <type_traits.hpp>`

## Public Types
using | type = type_list_element_t<Index, decltype(pick_up(std::declval<Candidate>()))>
| N-th argument of the callable type.

## Detailed Description

template<std::size_t Index, typename Candidate>
class entt::nth_argument< Index, Candidate >

Extracts the n-th argument of a callable type.

Template Parameters

  Index | The index of the argument to extract.
  Candidate | A valid callable type.

Definition at line 878 of file type_traits.hpp.

## Member Typedef Documentation

## ◆ type

template<std::size_t Index, typename Candidate>

using entt::nth_argument< Index, Candidate >::type = type_list_element_t<Index, decltype(pick_up(std::declval<Candidate>()))>

N-th argument of the callable type.

Definition at line 896 of file type_traits.hpp.

The documentation for this class was generated from the following file:

- src/entt/core/type_traits.hpp