From a25a7092d834b9e5be261fe62e57fb9a92692e84 Mon Sep 17 00:00:00 2001 From: Joel de Guzman Date: Fri, 16 Dec 2011 00:14:49 +0000 Subject: [PATCH] Patches from Tim Blechmann [SVN r75976] --- include/boost/fusion/container/list/cons.hpp | 4 ++-- .../vector/detail/preprocessed/vector10.hpp | 22 +++++++++---------- .../vector/detail/preprocessed/vector20.hpp | 20 ++++++++--------- .../vector/detail/preprocessed/vector30.hpp | 20 ++++++++--------- .../vector/detail/preprocessed/vector40.hpp | 20 ++++++++--------- .../vector/detail/preprocessed/vector50.hpp | 20 ++++++++--------- .../container/vector/detail/vector_n.hpp | 4 ++-- include/boost/fusion/iterator/equal_to.hpp | 4 ++-- .../fusion/sequence/comparison/equal_to.hpp | 2 +- .../fusion/sequence/comparison/greater.hpp | 2 +- .../sequence/comparison/greater_equal.hpp | 2 +- .../boost/fusion/sequence/comparison/less.hpp | 2 +- .../fusion/sequence/comparison/less_equal.hpp | 2 +- .../sequence/comparison/not_equal_to.hpp | 2 +- include/boost/fusion/sequence/io/in.hpp | 2 +- include/boost/fusion/sequence/io/out.hpp | 2 +- 16 files changed, 65 insertions(+), 65 deletions(-) diff --git a/include/boost/fusion/container/list/cons.hpp b/include/boost/fusion/container/list/cons.hpp index e434d5c7..666b5367 100644 --- a/include/boost/fusion/container/list/cons.hpp +++ b/include/boost/fusion/container/list/cons.hpp @@ -88,7 +88,7 @@ namespace boost { namespace fusion template cons( Sequence const& seq - , typename disable_if< + , typename boost::disable_if< mpl::or_< is_convertible // use copy ctor instead , is_convertible // use copy to car instead @@ -119,7 +119,7 @@ namespace boost { namespace fusion } template - typename disable_if, cons&>::type + typename boost::disable_if, cons&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type Iterator; diff --git a/include/boost/fusion/container/vector/detail/preprocessed/vector10.hpp b/include/boost/fusion/container/vector/detail/preprocessed/vector10.hpp index 841eae19..d6258f60 100644 --- a/include/boost/fusion/container/vector/detail/preprocessed/vector10.hpp +++ b/include/boost/fusion/container/vector/detail/preprocessed/vector10.hpp @@ -61,7 +61,7 @@ namespace boost { namespace fusion template vector1( Sequence const& seq - , typename disable_if >::type* = 0 + , typename boost::disable_if >::type* = 0 ) : base_type(base_type::init_from_sequence(seq)) {} template @@ -72,7 +72,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -157,7 +157,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -242,7 +242,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -327,7 +327,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -412,7 +412,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -497,7 +497,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -582,7 +582,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -667,7 +667,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -752,7 +752,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -837,7 +837,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; diff --git a/include/boost/fusion/container/vector/detail/preprocessed/vector20.hpp b/include/boost/fusion/container/vector/detail/preprocessed/vector20.hpp index 94b82e20..a409b2e7 100644 --- a/include/boost/fusion/container/vector/detail/preprocessed/vector20.hpp +++ b/include/boost/fusion/container/vector/detail/preprocessed/vector20.hpp @@ -73,7 +73,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -158,7 +158,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -243,7 +243,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -328,7 +328,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -413,7 +413,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -498,7 +498,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -583,7 +583,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -668,7 +668,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -753,7 +753,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -838,7 +838,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; diff --git a/include/boost/fusion/container/vector/detail/preprocessed/vector30.hpp b/include/boost/fusion/container/vector/detail/preprocessed/vector30.hpp index 78ab3737..032ff9d2 100644 --- a/include/boost/fusion/container/vector/detail/preprocessed/vector30.hpp +++ b/include/boost/fusion/container/vector/detail/preprocessed/vector30.hpp @@ -73,7 +73,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -158,7 +158,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -243,7 +243,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -328,7 +328,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -413,7 +413,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -498,7 +498,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -583,7 +583,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -668,7 +668,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -753,7 +753,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -838,7 +838,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; diff --git a/include/boost/fusion/container/vector/detail/preprocessed/vector40.hpp b/include/boost/fusion/container/vector/detail/preprocessed/vector40.hpp index fb42550b..1b5fa58d 100644 --- a/include/boost/fusion/container/vector/detail/preprocessed/vector40.hpp +++ b/include/boost/fusion/container/vector/detail/preprocessed/vector40.hpp @@ -73,7 +73,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -158,7 +158,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -243,7 +243,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -328,7 +328,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -413,7 +413,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -498,7 +498,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -583,7 +583,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -668,7 +668,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -753,7 +753,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -838,7 +838,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; diff --git a/include/boost/fusion/container/vector/detail/preprocessed/vector50.hpp b/include/boost/fusion/container/vector/detail/preprocessed/vector50.hpp index 82f26096..ba6c1771 100644 --- a/include/boost/fusion/container/vector/detail/preprocessed/vector50.hpp +++ b/include/boost/fusion/container/vector/detail/preprocessed/vector50.hpp @@ -73,7 +73,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -158,7 +158,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -243,7 +243,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -328,7 +328,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -413,7 +413,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -498,7 +498,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -583,7 +583,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -668,7 +668,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -753,7 +753,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; @@ -838,7 +838,7 @@ namespace boost { namespace fusion return *this; } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; diff --git a/include/boost/fusion/container/vector/detail/vector_n.hpp b/include/boost/fusion/container/vector/detail/vector_n.hpp index 274c33e8..431774b3 100644 --- a/include/boost/fusion/container/vector/detail/vector_n.hpp +++ b/include/boost/fusion/container/vector/detail/vector_n.hpp @@ -104,7 +104,7 @@ BOOST_PP_CAT(vector, N)( Sequence const& seq #if (N == 1) - , typename disable_if >::type* /*dummy*/ = 0 + , typename boost::disable_if >::type* /*dummy*/ = 0 #endif ) : base_type(base_type::init_from_sequence(seq)) {} @@ -118,7 +118,7 @@ } template - typename disable_if, this_type&>::type + typename boost::disable_if, this_type&>::type operator=(Sequence const& seq) { typedef typename result_of::begin::type I0; diff --git a/include/boost/fusion/iterator/equal_to.hpp b/include/boost/fusion/iterator/equal_to.hpp index c15d870a..33478377 100644 --- a/include/boost/fusion/iterator/equal_to.hpp +++ b/include/boost/fusion/iterator/equal_to.hpp @@ -74,7 +74,7 @@ namespace boost { namespace fusion { template inline typename - enable_if< + boost::enable_if< mpl::and_, is_fusion_iterator > , bool >::type @@ -85,7 +85,7 @@ namespace boost { namespace fusion template inline typename - enable_if< + boost::enable_if< mpl::and_, is_fusion_iterator > , bool >::type diff --git a/include/boost/fusion/sequence/comparison/equal_to.hpp b/include/boost/fusion/sequence/comparison/equal_to.hpp index ad3ba585..9c4e0435 100644 --- a/include/boost/fusion/sequence/comparison/equal_to.hpp +++ b/include/boost/fusion/sequence/comparison/equal_to.hpp @@ -37,7 +37,7 @@ namespace boost { namespace fusion { template inline typename - enable_if< + boost::enable_if< traits::enable_equality , bool >::type diff --git a/include/boost/fusion/sequence/comparison/greater.hpp b/include/boost/fusion/sequence/comparison/greater.hpp index f672a48e..077138d8 100644 --- a/include/boost/fusion/sequence/comparison/greater.hpp +++ b/include/boost/fusion/sequence/comparison/greater.hpp @@ -37,7 +37,7 @@ namespace boost { namespace fusion { template inline typename - enable_if< + boost::enable_if< traits::enable_comparison , bool >::type diff --git a/include/boost/fusion/sequence/comparison/greater_equal.hpp b/include/boost/fusion/sequence/comparison/greater_equal.hpp index 753deb4d..90175bc7 100644 --- a/include/boost/fusion/sequence/comparison/greater_equal.hpp +++ b/include/boost/fusion/sequence/comparison/greater_equal.hpp @@ -37,7 +37,7 @@ namespace boost { namespace fusion { template inline typename - enable_if< + boost::enable_if< traits::enable_comparison , bool >::type diff --git a/include/boost/fusion/sequence/comparison/less.hpp b/include/boost/fusion/sequence/comparison/less.hpp index 82383f77..944cdcf6 100644 --- a/include/boost/fusion/sequence/comparison/less.hpp +++ b/include/boost/fusion/sequence/comparison/less.hpp @@ -28,7 +28,7 @@ namespace boost { namespace fusion { template inline typename - enable_if< + boost::enable_if< traits::enable_comparison , bool >::type diff --git a/include/boost/fusion/sequence/comparison/less_equal.hpp b/include/boost/fusion/sequence/comparison/less_equal.hpp index 890fb99c..0e5d23a5 100644 --- a/include/boost/fusion/sequence/comparison/less_equal.hpp +++ b/include/boost/fusion/sequence/comparison/less_equal.hpp @@ -65,7 +65,7 @@ namespace boost { namespace fusion template inline typename - enable_if< + boost::enable_if< traits::enable_comparison , bool >::type diff --git a/include/boost/fusion/sequence/comparison/not_equal_to.hpp b/include/boost/fusion/sequence/comparison/not_equal_to.hpp index efc9b537..14ef25df 100644 --- a/include/boost/fusion/sequence/comparison/not_equal_to.hpp +++ b/include/boost/fusion/sequence/comparison/not_equal_to.hpp @@ -40,7 +40,7 @@ namespace boost { namespace fusion { template inline typename - enable_if< + boost::enable_if< traits::enable_equality , bool >::type diff --git a/include/boost/fusion/sequence/io/in.hpp b/include/boost/fusion/sequence/io/in.hpp index da4e5a5c..73a1fffb 100644 --- a/include/boost/fusion/sequence/io/in.hpp +++ b/include/boost/fusion/sequence/io/in.hpp @@ -27,7 +27,7 @@ namespace boost { namespace fusion { template inline typename - enable_if< + boost::enable_if< fusion::traits::is_sequence , std::istream& >::type diff --git a/include/boost/fusion/sequence/io/out.hpp b/include/boost/fusion/sequence/io/out.hpp index fc7fa1af..988a3985 100644 --- a/include/boost/fusion/sequence/io/out.hpp +++ b/include/boost/fusion/sequence/io/out.hpp @@ -29,7 +29,7 @@ namespace boost { namespace fusion { template inline typename - enable_if< + boost::enable_if< fusion::traits::is_sequence , std::ostream& >::type