mirror of
https://github.com/boostorg/function.git
synced 2025-07-29 12:27:15 +02:00
Remove uses of BOOST_FUNCTION_VOID_FUNCTION_INVOKER
This commit is contained in:
@ -27,7 +27,6 @@
|
||||
#define BOOST_FUNCTION_COMMA ,
|
||||
|
||||
// Class names used in this version of the code
|
||||
#define BOOST_FUNCTION_VOID_FUNCTION_INVOKER void_function_invoker
|
||||
#define BOOST_FUNCTION_FUNCTION_OBJ_INVOKER function_obj_invoker
|
||||
#define BOOST_FUNCTION_VOID_FUNCTION_OBJ_INVOKER void_function_obj_invoker
|
||||
#define BOOST_FUNCTION_FUNCTION_REF_INVOKER function_ref_invoker
|
||||
@ -67,7 +66,7 @@ namespace boost {
|
||||
typename R BOOST_FUNCTION_COMMA
|
||||
BOOST_FUNCTION_TEMPLATE_PARMS
|
||||
>
|
||||
struct BOOST_FUNCTION_VOID_FUNCTION_INVOKER
|
||||
struct void_function_invoker
|
||||
{
|
||||
static BOOST_FUNCTION_VOID_RETURN_TYPE
|
||||
invoke(function_buffer& function_ptr BOOST_FUNCTION_COMMA
|
||||
@ -201,7 +200,7 @@ namespace boost {
|
||||
struct BOOST_FUNCTION_GET_FUNCTION_INVOKER
|
||||
{
|
||||
typedef typename conditional<(is_void<R>::value),
|
||||
BOOST_FUNCTION_VOID_FUNCTION_INVOKER<
|
||||
void_function_invoker<
|
||||
FunctionPtr,
|
||||
R BOOST_FUNCTION_COMMA
|
||||
BOOST_FUNCTION_TEMPLATE_ARGS
|
||||
@ -1079,7 +1078,6 @@ public:
|
||||
// Cleanup after ourselves...
|
||||
#undef BOOST_FUNCTION_VTABLE
|
||||
#undef BOOST_FUNCTION_COMMA
|
||||
#undef BOOST_FUNCTION_VOID_FUNCTION_INVOKER
|
||||
#undef BOOST_FUNCTION_FUNCTION_OBJ_INVOKER
|
||||
#undef BOOST_FUNCTION_VOID_FUNCTION_OBJ_INVOKER
|
||||
#undef BOOST_FUNCTION_FUNCTION_REF_INVOKER
|
||||
|
Reference in New Issue
Block a user