v8toolkit
0.0.1
Utility library for embedding V8 Javascript engine in a c++ program
|
Typedefs | |
typedef const function_manager * | manager_type |
Functions | |
template<typename Result , typename... Arguments> | |
Result | empty_call (const functor_padding &, Arguments...) |
template<typename T > | |
T | to_functor (T &&func) |
template<typename Result , typename Class , typename... Arguments> | |
auto | to_functor (Result(Class::*func)(Arguments...)) -> decltype(std::mem_fn(func)) |
template<typename T > | |
bool | is_null (const T &) |
template<typename Result , typename... Arguments> | |
bool | is_null (Result(*const &function_pointer)(Arguments...)) |
template<typename Result , typename Class , typename... Arguments> | |
bool | is_null (Result(Class::*const &function_pointer)(Arguments...)) |
template<typename T , typename Allocator > | |
static const function_manager & | get_default_manager () |
template<typename T , typename Allocator > | |
static void | create_manager (manager_storage_type &storage, Allocator &&allocator) |
struct func::detail::empty_struct |
Definition at line 61 of file stdfunctionreplacement.h.
struct func::detail::functor_type |
Definition at line 104 of file stdfunctionreplacement.h.
Class Members | ||
---|---|---|
decltype(to_functor(declval< T > ())) typedef |
type |
struct func::detail::typedeffer |
Definition at line 351 of file stdfunctionreplacement.h.
Class Members | ||
---|---|---|
typedef Result | result_type |
struct func::detail::typedeffer< Result, Argument > |
Definition at line 356 of file stdfunctionreplacement.h.
Class Members | ||
---|---|---|
typedef Result | result_type | |
typedef Argument | argument_type |
struct func::detail::typedeffer< Result, First_Argument, Second_Argument > |
Definition at line 362 of file stdfunctionreplacement.h.
Class Members | ||
---|---|---|
typedef Result | result_type | |
typedef First_Argument | first_argument_type | |
typedef Second_Argument | second_argument_type |
typedef const function_manager* func::detail::manager_type |
Definition at line 158 of file stdfunctionreplacement.h.
Result func::detail::empty_call | ( | const functor_padding & | , |
Arguments... | |||
) |
Definition at line 67 of file stdfunctionreplacement.h.
Referenced by func::function< Result(Arguments...)>::function(), and func::function< Result(Arguments...)>::initialize_empty().
T func::detail::to_functor | ( | T && | func | ) |
Definition at line 88 of file stdfunctionreplacement.h.
References FUNC_FORWARD.
Referenced by func::function< Result(Arguments...)>::function().
auto func::detail::to_functor | ( | Result(Class::*)(Arguments...) | func | ) | -> decltype(std::mem_fn(func)) |
Definition at line 93 of file stdfunctionreplacement.h.
bool func::detail::is_null | ( | const T & | ) |
Definition at line 110 of file stdfunctionreplacement.h.
Referenced by func::function< Result(Arguments...)>::function().
bool func::detail::is_null | ( | Result(*&)(Arguments...) | function_pointer | ) |
Definition at line 115 of file stdfunctionreplacement.h.
bool func::detail::is_null | ( | Result(Class::*&)(Arguments...) | function_pointer | ) |
Definition at line 120 of file stdfunctionreplacement.h.
|
inlinestatic |
Definition at line 344 of file stdfunctionreplacement.h.
References FUNC_CONSTEXPR.
|
static |
Definition at line 255 of file stdfunctionreplacement.h.
References FUNC_MOVE, func::detail::manager_storage_type::get_allocator(), and func::detail::manager_storage_type::manager.