EnTT 3.14.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
IndexThe index of the argument to extract.
CandidateA valid callable type.

Definition at line 876 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 894 of file type_traits.hpp.


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