Update of /cvsroot/boost/boost/boost/fusion/functional/invocation
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv26123
Modified Files:
invoke.hpp invoke_function_object.hpp invoke_procedure.hpp
Log Message:
changes is_convertible<category_of... to is_<concept>
Index: invoke.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/fusion/functional/invocation/invoke.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- invoke.hpp 15 Feb 2007 22:41:45 -0000 1.1
+++ invoke.hpp 19 Mar 2007 18:16:21 -0000 1.2
@@ -82,10 +82,7 @@
int N = result_of::size<Sequence>::value,
bool CBI = ft::is_callable_builtin<Function>::value,
bool MFP = ft::is_member_function_pointer<Function>::value,
- bool RandomAccess = boost::is_convertible<
- typename traits::category_of<Sequence>::type,
- fusion::random_access_traversal_tag
- >::value
+ bool RandomAccess = traits::is_random_access<Sequence>::value
>
struct invoke_impl
{
Index: invoke_function_object.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/fusion/functional/invocation/invoke_function_object.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- invoke_function_object.hpp 15 Feb 2007 22:41:45 -0000 1.1
+++ invoke_function_object.hpp 19 Mar 2007 18:16:21 -0000 1.2
@@ -19,7 +19,6 @@
#include <boost/blank.hpp>
-#include <boost/type_traits/is_convertible.hpp>
#include <boost/type_traits/remove_reference.hpp>
#include <boost/fusion/support/category_of.hpp>
@@ -53,10 +52,7 @@
template<
class Function, class Sequence,
int N = result_of::size<Sequence>::value,
- bool RandomAccess = boost::is_convertible<
- typename traits::category_of<Sequence>::type,
- fusion::random_access_traversal_tag
- >::value
+ bool RandomAccess = traits::is_random_access<Sequence>::value
>
struct invoke_function_object_impl
{
Index: invoke_procedure.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/fusion/functional/invocation/invoke_procedure.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- invoke_procedure.hpp 15 Feb 2007 22:41:45 -0000 1.1
+++ invoke_procedure.hpp 19 Mar 2007 18:16:21 -0000 1.2
@@ -31,7 +31,6 @@
#include <boost/blank.hpp>
-#include <boost/type_traits/is_convertible.hpp>
#include <boost/type_traits/remove_reference.hpp>
#include <boost/function_types/is_callable_builtin.hpp>
@@ -72,10 +71,7 @@
int N = result_of::size<Sequence>::value,
bool CBI = ft::is_callable_builtin<Function>::value,
bool MFP = ft::is_member_function_pointer<Function>::value,
- bool RandomAccess = boost::is_convertible<
- typename traits::category_of<Sequence>::type,
- fusion::random_access_traversal_tag
- >::value
+ bool RandomAccess = traits::is_random_access<Sequence>::value
>
struct invoke_procedure_impl
{
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs