Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r71796 - in sandbox/assign_v2/boost/assign/v2/ref/aux_/list: array holder
From: erwann.rogard_at_[hidden]
Date: 2011-05-07 18:14:25


Author: e_r
Date: 2011-05-07 18:14:25 EDT (Sat, 07 May 2011)
New Revision: 71796
URL: http://svn.boost.org/trac/boost/changeset/71796

Log:
upd assign_v2
Text files modified:
   sandbox/assign_v2/boost/assign/v2/ref/aux_/list/array/rebind.hpp | 4 ++--
   sandbox/assign_v2/boost/assign/v2/ref/aux_/list/holder/tail.hpp | 6 +++---
   2 files changed, 5 insertions(+), 5 deletions(-)

Modified: sandbox/assign_v2/boost/assign/v2/ref/aux_/list/array/rebind.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/aux_/list/array/rebind.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/aux_/list/array/rebind.hpp 2011-05-07 18:14:25 EDT (Sat, 07 May 2011)
@@ -13,7 +13,7 @@
 #include <boost/assign/v2/ref/aux_/list/at.hpp>
 #include <boost/mpl/bool.hpp>
 #include <boost/mpl/equal_to.hpp>
-#include <boost/mpl/int.hpp>
+#include <boost/mpl/size_t.hpp>
 
 namespace boost{
 namespace assign{
@@ -48,7 +48,7 @@
         // GCC4.4 wants fully qual at
         a[ K - 1 ].rebind( ref::at<K-1>( l ) ) ;
         typedef index_ next_size_;
- typedef ::boost::mpl::int_<0> zero_;
+ typedef ::boost::mpl::size_t<0> zero_;
         typedef typename ::boost::mpl::equal_to<next_size_,zero_>::type exit_;
         assign_array<K-1>( exit_(), a, l );
     }

Modified: sandbox/assign_v2/boost/assign/v2/ref/aux_/list/holder/tail.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/ref/aux_/list/holder/tail.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/ref/aux_/list/holder/tail.hpp 2011-05-07 18:14:25 EDT (Sat, 07 May 2011)
@@ -12,7 +12,7 @@
 #include <boost/assign/v2/support/keyword.hpp>
 #include <boost/assign/v2/ref/aux_/list/fwd.hpp>
 #include <boost/config.hpp>
-#include <boost/mpl/int.hpp>
+#include <boost/mpl/size_t.hpp>
 #include <boost/mpl/plus.hpp>
 #include <boost/call_traits.hpp>
 
@@ -28,7 +28,7 @@
         typedef T tail_type;
         typedef ::boost::mpl::plus<
             typename T::tail_static_size,
- ::boost::mpl::int_<1>
+ ::boost::mpl::size_t<1>
> tail_static_size;
         typedef T const& result_of_tail_type;
 
@@ -46,7 +46,7 @@
     struct tail_holder<nil_>
     {
         typedef nil_ tail_type;
- typedef ::boost::mpl::int_<0> tail_static_size;
+ typedef ::boost::mpl::size_t<0> tail_static_size;
         tail_holder(){}
 
         typedef tail_type result_of_tail_type;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk