Open 3D Engine AzCore API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZStd::function_base Class Reference

#include <function_base.h>

Inherited by AZStd::function_intermediate< R, Args... >, and AZStd::function_intermediate< R, Args >.

Public Member Functions

bool empty () const
 
type_id target_type () const
 
template<typename Functor >
Functor * target ()
 
template<typename Functor >
const Functor * target () const
 
template<typename F >
bool contains (const F &f) const
 

Protected Attributes

Internal::function_util::vtable_base * vtable
 
Internal::function_util::function_buffer functor
 

Detailed Description

The function_base class contains the basic elements needed for the function1, function2, function3, etc. classes. It is common to all functions (and as such can be used to tell if we have one of the functionN objects).

Member Function Documentation

◆ empty()

bool AZStd::function_base::empty ( ) const
inline

Determine if the function is empty (i.e., has no target).

◆ target_type()

type_id AZStd::function_base::target_type ( ) const
inline

Retrieve the type of the stored function object, or aztypeid(void) if this is empty.


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