Flecs v4.0
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
flecs::_::function_traits_defs< ReturnType, Args > Struct Template Reference

Public Types

using return_type = ReturnType
 
using args = arg_list<Args ...>
 

Static Public Attributes

static constexpr bool is_callable = true
 
static constexpr size_t arity = sizeof...(Args)
 

Detailed Description

template<typename ReturnType, typename... Args>
struct flecs::_::function_traits_defs< ReturnType, Args >

Definition at line 16 of file function_traits.hpp.

Member Typedef Documentation

◆ args

template<typename ReturnType , typename... Args>
using flecs::_::function_traits_defs< ReturnType, Args >::args = arg_list<Args ...>

Definition at line 21 of file function_traits.hpp.

◆ return_type

template<typename ReturnType , typename... Args>
using flecs::_::function_traits_defs< ReturnType, Args >::return_type = ReturnType

Definition at line 20 of file function_traits.hpp.

Member Data Documentation

◆ arity

template<typename ReturnType , typename... Args>
constexpr size_t flecs::_::function_traits_defs< ReturnType, Args >::arity = sizeof...(Args)
staticconstexpr

Definition at line 19 of file function_traits.hpp.

◆ is_callable

template<typename ReturnType , typename... Args>
constexpr bool flecs::_::function_traits_defs< ReturnType, Args >::is_callable = true
staticconstexpr

Definition at line 18 of file function_traits.hpp.


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