Prepare for variadic support

This commit is contained in:
Nikita Kniazev
2018-10-19 02:34:42 +03:00
committed by James E. King III
parent 5b2acbc175
commit 5f93559650

View File

@ -349,9 +349,8 @@ namespace boost {
typedef functor_manager<FunctionPtr> manager_type; typedef functor_manager<FunctionPtr> manager_type;
}; };
template<typename FunctionPtr, template<typename FunctionPtr, typename Allocator,
typename R BOOST_FUNCTION_COMMA BOOST_FUNCTION_TEMPLATE_PARMS, typename R BOOST_FUNCTION_COMMA BOOST_FUNCTION_TEMPLATE_PARMS>
typename Allocator>
struct apply_a struct apply_a
{ {
typedef typename BOOST_FUNCTION_GET_FUNCTION_INVOKER< typedef typename BOOST_FUNCTION_GET_FUNCTION_INVOKER<
@ -384,9 +383,8 @@ namespace boost {
typedef functor_manager<MemberPtr> manager_type; typedef functor_manager<MemberPtr> manager_type;
}; };
template<typename MemberPtr, template<typename MemberPtr, typename Allocator,
typename R BOOST_FUNCTION_COMMA BOOST_FUNCTION_TEMPLATE_PARMS, typename R BOOST_FUNCTION_COMMA BOOST_FUNCTION_TEMPLATE_PARMS>
typename Allocator>
struct apply_a struct apply_a
{ {
typedef typename BOOST_FUNCTION_GET_MEMBER_INVOKER< typedef typename BOOST_FUNCTION_GET_MEMBER_INVOKER<
@ -419,9 +417,8 @@ namespace boost {
typedef functor_manager<FunctionObj> manager_type; typedef functor_manager<FunctionObj> manager_type;
}; };
template<typename FunctionObj, template<typename FunctionObj, typename Allocator,
typename R BOOST_FUNCTION_COMMA BOOST_FUNCTION_TEMPLATE_PARMS, typename R BOOST_FUNCTION_COMMA BOOST_FUNCTION_TEMPLATE_PARMS>
typename Allocator>
struct apply_a struct apply_a
{ {
typedef typename BOOST_FUNCTION_GET_FUNCTION_OBJ_INVOKER< typedef typename BOOST_FUNCTION_GET_FUNCTION_OBJ_INVOKER<
@ -453,9 +450,8 @@ namespace boost {
typedef reference_manager<typename RefWrapper::type> manager_type; typedef reference_manager<typename RefWrapper::type> manager_type;
}; };
template<typename RefWrapper, template<typename RefWrapper, typename Allocator,
typename R BOOST_FUNCTION_COMMA BOOST_FUNCTION_TEMPLATE_PARMS, typename R BOOST_FUNCTION_COMMA BOOST_FUNCTION_TEMPLATE_PARMS>
typename Allocator>
struct apply_a struct apply_a
{ {
typedef typename BOOST_FUNCTION_GET_FUNCTION_REF_INVOKER< typedef typename BOOST_FUNCTION_GET_FUNCTION_REF_INVOKER<
@ -954,9 +950,8 @@ namespace boost {
typedef typename boost::detail::function::get_function_tag<Functor>::type tag; typedef typename boost::detail::function::get_function_tag<Functor>::type tag;
typedef boost::detail::function::BOOST_FUNCTION_GET_INVOKER<tag> get_invoker; typedef boost::detail::function::BOOST_FUNCTION_GET_INVOKER<tag> get_invoker;
typedef typename get_invoker:: typedef typename get_invoker::
template apply_a<Functor, R BOOST_FUNCTION_COMMA template apply_a<Functor, Allocator, R BOOST_FUNCTION_COMMA
BOOST_FUNCTION_TEMPLATE_ARGS, BOOST_FUNCTION_TEMPLATE_ARGS>
Allocator>
handler_type; handler_type;
typedef typename handler_type::invoker_type invoker_type; typedef typename handler_type::invoker_type invoker_type;