EnTT 3.13.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 given function or member function. 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 given function or member function.
 

Detailed Description

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

Extracts the n-th argument of a given function or member function.

Template Parameters
IndexThe index of the argument to extract.
CandidateA valid function, member function or data member type.

Definition at line 881 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 given function or member function.

Definition at line 896 of file type_traits.hpp.


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