5 #ifndef EASTL_INTERNAL_FUNCTION_HELP_H
6 #define EASTL_INTERNAL_FUNCTION_HELP_H
8 #if defined(EA_PRAGMA_ONCE_SUPPORTED)
12 #include <EASTL/internal/config.h>
13 #include <EASTL/type_traits.h>
24 bool is_null(
const T&)
29 template <
typename Result,
typename... Arguments>
30 bool is_null(Result (*
const& function_pointer)(Arguments...))
32 return function_pointer ==
nullptr;
35 template <
typename Result,
typename Class,
typename... Arguments>
36 bool is_null(Result (
Class::*
const& function_pointer)(Arguments...))
38 return function_pointer ==
nullptr;
41 template <
typename Result,
typename Class,
typename... Arguments>
42 bool is_null(Result (
Class::*
const& function_pointer)(Arguments...)
const)
44 return function_pointer ==
nullptr;
Definition: TestTypeTraits.cpp:60
EA Standard Template Library.
Definition: algorithm.h:288