Flecs v4.1
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
flecs::_::validate_delegate< Func, T > Struct Template Reference
Inheritance diagram for flecs::_::validate_delegate< Func, T >:
[legend]

Public Member Functions

template<if_not_t< is_same< decay_t< Func >, decay_t< Func > & >::value > = 0>
 validate_delegate (Func &&func) noexcept
 
 validate_delegate (const Func &func) noexcept
 

Static Public Member Functions

static bool run (ecs_world_t *world, ecs_entity_t entity, void *ptr)
 

Public Attributes

Func func_
 

Detailed Description

template<typename Func, typename T>
struct flecs::_::validate_delegate< Func, T >

Definition at line 394 of file delegate.hpp.

Constructor & Destructor Documentation

◆ validate_delegate() [1/2]

template<typename Func , typename T >
template<if_not_t< is_same< decay_t< Func >, decay_t< Func > & >::value > = 0>
flecs::_::validate_delegate< Func, T >::validate_delegate ( Func && func)
inlineexplicitnoexcept

Definition at line 396 of file delegate.hpp.

◆ validate_delegate() [2/2]

template<typename Func , typename T >
flecs::_::validate_delegate< Func, T >::validate_delegate ( const Func & func)
inlineexplicitnoexcept

Definition at line 399 of file delegate.hpp.

Member Function Documentation

◆ run()

template<typename Func , typename T >
static bool flecs::_::validate_delegate< Func, T >::run ( ecs_world_t * world,
ecs_entity_t entity,
void * ptr )
inlinestatic

Definition at line 402 of file delegate.hpp.

Member Data Documentation

◆ func_

template<typename Func , typename T >
Func flecs::_::validate_delegate< Func, T >::func_

Definition at line 414 of file delegate.hpp.


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