forked from boostorg/fusion
changes is_convertible<category_of... to is_<concept>
[SVN r37231]
This commit is contained in:
@ -82,10 +82,7 @@ namespace boost { namespace fusion
|
|||||||
int N = result_of::size<Sequence>::value,
|
int N = result_of::size<Sequence>::value,
|
||||||
bool CBI = ft::is_callable_builtin<Function>::value,
|
bool CBI = ft::is_callable_builtin<Function>::value,
|
||||||
bool MFP = ft::is_member_function_pointer<Function>::value,
|
bool MFP = ft::is_member_function_pointer<Function>::value,
|
||||||
bool RandomAccess = boost::is_convertible<
|
bool RandomAccess = traits::is_random_access<Sequence>::value
|
||||||
typename traits::category_of<Sequence>::type,
|
|
||||||
fusion::random_access_traversal_tag
|
|
||||||
>::value
|
|
||||||
>
|
>
|
||||||
struct invoke_impl
|
struct invoke_impl
|
||||||
{
|
{
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
|
|
||||||
#include <boost/blank.hpp>
|
#include <boost/blank.hpp>
|
||||||
|
|
||||||
#include <boost/type_traits/is_convertible.hpp>
|
|
||||||
#include <boost/type_traits/remove_reference.hpp>
|
#include <boost/type_traits/remove_reference.hpp>
|
||||||
|
|
||||||
#include <boost/fusion/support/category_of.hpp>
|
#include <boost/fusion/support/category_of.hpp>
|
||||||
@ -53,10 +52,7 @@ namespace boost { namespace fusion
|
|||||||
template<
|
template<
|
||||||
class Function, class Sequence,
|
class Function, class Sequence,
|
||||||
int N = result_of::size<Sequence>::value,
|
int N = result_of::size<Sequence>::value,
|
||||||
bool RandomAccess = boost::is_convertible<
|
bool RandomAccess = traits::is_random_access<Sequence>::value
|
||||||
typename traits::category_of<Sequence>::type,
|
|
||||||
fusion::random_access_traversal_tag
|
|
||||||
>::value
|
|
||||||
>
|
>
|
||||||
struct invoke_function_object_impl
|
struct invoke_function_object_impl
|
||||||
{
|
{
|
||||||
|
@ -31,7 +31,6 @@
|
|||||||
|
|
||||||
#include <boost/blank.hpp>
|
#include <boost/blank.hpp>
|
||||||
|
|
||||||
#include <boost/type_traits/is_convertible.hpp>
|
|
||||||
#include <boost/type_traits/remove_reference.hpp>
|
#include <boost/type_traits/remove_reference.hpp>
|
||||||
|
|
||||||
#include <boost/function_types/is_callable_builtin.hpp>
|
#include <boost/function_types/is_callable_builtin.hpp>
|
||||||
@ -72,10 +71,7 @@ namespace boost { namespace fusion
|
|||||||
int N = result_of::size<Sequence>::value,
|
int N = result_of::size<Sequence>::value,
|
||||||
bool CBI = ft::is_callable_builtin<Function>::value,
|
bool CBI = ft::is_callable_builtin<Function>::value,
|
||||||
bool MFP = ft::is_member_function_pointer<Function>::value,
|
bool MFP = ft::is_member_function_pointer<Function>::value,
|
||||||
bool RandomAccess = boost::is_convertible<
|
bool RandomAccess = traits::is_random_access<Sequence>::value
|
||||||
typename traits::category_of<Sequence>::type,
|
|
||||||
fusion::random_access_traversal_tag
|
|
||||||
>::value
|
|
||||||
>
|
>
|
||||||
struct invoke_procedure_impl
|
struct invoke_procedure_impl
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user