Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59652 - in sandbox/statistics/detail/assign: boost/assign/auto_size boost/assign/auto_size/detail libs/assign/example
From: erwann.rogard_at_[hidden]
Date: 2010-02-11 15:46:28


Author: e_r
Date: 2010-02-11 15:46:27 EST (Thu, 11 Feb 2010)
New Revision: 59652
URL: http://svn.boost.org/trac/boost/changeset/59652

Log:
m
Text files modified:
   sandbox/statistics/detail/assign/boost/assign/auto_size/detail/auto_size.hpp | 12 +++++-------
   sandbox/statistics/detail/assign/boost/assign/auto_size/ref_copy_list_of.hpp | 2 +-
   sandbox/statistics/detail/assign/boost/assign/auto_size/ref_list_of.hpp | 3 +--
   sandbox/statistics/detail/assign/libs/assign/example/cref_list_of2.cpp | 4 ++--
   4 files changed, 9 insertions(+), 12 deletions(-)

Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/detail/auto_size.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/detail/auto_size.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/detail/auto_size.hpp 2010-02-11 15:46:27 EST (Thu, 11 Feb 2010)
@@ -17,7 +17,7 @@
 #include <boost/array.hpp>
 #include <boost/range.hpp>
 #include <boost/assign/list_of.hpp> // needed for assign_referene
-#include <boost/assign/detail/assign_value.hpp>
+#include <boost/assign/auto_size/detail/assign_refence_copy.hpp>
 
 // This is the implementation behind ref_list_of() and ref_copy_list_of().
 //
@@ -45,15 +45,13 @@
             
         typedef boost::mpl::void_ top_;
 
- // Rebind semantics
     template<typename T>
- struct ref_bind{
+ struct ref_rebind{
         typedef boost::assign_detail::assign_reference<T> type;
     };
 
- // Copy semantics
     template<typename T>
- struct ref_value{
+ struct ref_copy{
         typedef boost::assign_detail::assign_reference_copy<T> type;
     };
             
@@ -189,13 +187,13 @@
     template<typename T>
     struct copy_first{
         typedef detail::auto_size::expr<
- detail::auto_size::top_,T,1,ref_value> type;
+ detail::auto_size::top_,T,1,ref_copy> type;
     };
 
     template<typename T>
     struct rebind_first{
         typedef detail::auto_size::expr<
- detail::auto_size::top_,T,1,ref_bind> type;
+ detail::auto_size::top_,T,1,ref_rebind> type;
     };
             
 }// auto_size

Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/ref_copy_list_of.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/ref_copy_list_of.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/ref_copy_list_of.hpp 2010-02-11 15:46:27 EST (Thu, 11 Feb 2010)
@@ -8,7 +8,7 @@
 //////////////////////////////////////////////////////////////////////////////
 #ifndef BOOST_ASSIGN_REF_COPY_LIST_OF_COPY_ER_2010_HPP
 #define BOOST_ASSIGN_REF_COPY_LIST_OF_COPY_ER_2010_HPP
-#include <boost/assign/detail/ref_list_of_auto_size_copy_rebind.hpp>
+#include <boost/assign/auto_size/detail/auto_size.hpp>
 
 // Usage 1:
 // std::vector<T> vec = cref_copy_list_of(a)(b)(c);

Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/ref_list_of.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/ref_list_of.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/ref_list_of.hpp 2010-02-11 15:46:27 EST (Thu, 11 Feb 2010)
@@ -8,8 +8,7 @@
 //////////////////////////////////////////////////////////////////////////////
 #ifndef BOOST_ASSIGN_REF_LIST_OF_REBIND_ER_2010_HPP
 #define BOOST_ASSIGN_REF_LIST_OF_REBIND_ER_2010_HPP
-#include <boost/assign/detail/ref_list_of_auto_size_copy_rebind.hpp>
-
+#include <boost/assign/auto_size/detail/auto_size.hpp>
 
 // Usage 1:
 // std::vector<T> vec = cref_list_of(a)(b)(c);

Modified: sandbox/statistics/detail/assign/libs/assign/example/cref_list_of2.cpp
==============================================================================
--- sandbox/statistics/detail/assign/libs/assign/example/cref_list_of2.cpp (original)
+++ sandbox/statistics/detail/assign/libs/assign/example/cref_list_of2.cpp 2010-02-11 15:46:27 EST (Thu, 11 Feb 2010)
@@ -10,8 +10,8 @@
 #include <vector>
 #include <algorithm>
 #include <boost/typeof/typeof.hpp>
-#include <boost/assign/cref_list_of2.hpp>
-#include <boost/assign/ref_list_of_rebind.hpp>
+#include <boost/assign/auto_size/ref_list_of.hpp>
+#include <boost/assign/auto_size/ref_copy_list_of.hpp>
 #include <boost/assign/list_of.hpp>
 #include <libs/assign/example/cref_list_of2.h>
 


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