Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r60010 - in sandbox/statistics/detail/assign: boost/assign/auto_size boost/assign/auto_size/array boost/assign/auto_size/detail libs/assign/example
From: erwann.rogard_at_[hidden]
Date: 2010-02-28 19:39:45


Author: e_r
Date: 2010-02-28 19:39:43 EST (Sun, 28 Feb 2010)
New Revision: 60010
URL: http://svn.boost.org/trac/boost/changeset/60010

Log:
m
Added:
   sandbox/statistics/detail/assign/boost/assign/auto_size/array/interface.hpp
      - copied, changed from r60007, /sandbox/statistics/detail/assign/boost/assign/auto_size/detail/array_interface.hpp
   sandbox/statistics/detail/assign/boost/assign/auto_size/array/policy.hpp
      - copied, changed from r60007, /sandbox/statistics/detail/assign/boost/assign/auto_size/detail/policy/array.hpp
   sandbox/statistics/detail/assign/boost/assign/auto_size/array/wrapper.hpp
      - copied, changed from r60007, /sandbox/statistics/detail/assign/boost/assign/auto_size/detail/array_wrapper.hpp
Text files modified:
   sandbox/statistics/detail/assign/boost/assign/auto_size/array/interface.hpp | 2 +-
   sandbox/statistics/detail/assign/boost/assign/auto_size/array/policy.hpp | 17 +++++++----------
   sandbox/statistics/detail/assign/boost/assign/auto_size/array/wrapper.hpp | 4 ++--
   sandbox/statistics/detail/assign/boost/assign/auto_size/detail/auto_size.hpp | 4 ++--
   sandbox/statistics/detail/assign/boost/assign/auto_size/detail/csv.hpp | 2 +-
   sandbox/statistics/detail/assign/boost/assign/auto_size/ref_list_of.hpp | 2 +-
   sandbox/statistics/detail/assign/libs/assign/example/ref_list_of.cpp | 2 +-
   7 files changed, 15 insertions(+), 18 deletions(-)

Copied: sandbox/statistics/detail/assign/boost/assign/auto_size/array/interface.hpp (from r60007, /sandbox/statistics/detail/assign/boost/assign/auto_size/detail/array_interface.hpp)
==============================================================================
--- /sandbox/statistics/detail/assign/boost/assign/auto_size/detail/array_interface.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/array/interface.hpp 2010-02-28 19:39:43 EST (Sun, 28 Feb 2010)
@@ -1,5 +1,5 @@
 //////////////////////////////////////////////////////////////////////////////
-// assign::detail::array_interface.hpp //
+// assign::detail::array::interface.hpp //
 // //
 // (C) Copyright 2010 Erwann Rogard //
 // Use, modification and distribution are subject to the //

Copied: sandbox/statistics/detail/assign/boost/assign/auto_size/array/policy.hpp (from r60007, /sandbox/statistics/detail/assign/boost/assign/auto_size/detail/policy/array.hpp)
==============================================================================
--- /sandbox/statistics/detail/assign/boost/assign/auto_size/detail/policy/array.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/array/policy.hpp 2010-02-28 19:39:43 EST (Sun, 28 Feb 2010)
@@ -1,16 +1,16 @@
 //////////////////////////////////////////////////////////////////////////////
-// assign::detail::policy::array.hpp //
+// assign::detail::array::policy.hpp //
 // //
 // (C) Copyright 2010 Erwann Rogard //
 // Use, modification and distribution are subject to the //
 // Boost Software License, Version 1.0. (See accompanying file //
 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) //
 //////////////////////////////////////////////////////////////////////////////
-#ifndef BOOST_ASSIGN_AUTO_SIZE_DETAIL_POLICY_ARRAY_ER_2010_HPP
-#define BOOST_ASSIGN_AUTO_SIZE_DETAIL_POLICY_ARRAY_ER_2010_HPP
+#ifndef BOOST_ASSIGN_AUTO_SIZE_DETAIL_ARRAY_POLICY_ER_2010_HPP
+#define BOOST_ASSIGN_AUTO_SIZE_DETAIL_ARRAY_POLICY_ER_2010_HPP
 #include <boost/shared_ptr.hpp>
-#include <boost/assign/auto_size/detail/array_interface.hpp>
-#include <boost/assign/auto_size/detail/array_wrapper.hpp>
+#include <boost/assign/auto_size/array/interface.hpp>
+#include <boost/assign/auto_size/array/wrapper.hpp>
 
 namespace boost{
 namespace assign{
@@ -30,12 +30,10 @@
     void write_to_array(A& a,const expr<E,T,N,Ref,P>& e);
                   
 
-namespace policy{
-
           // Policy for auto_size::expr that exposes an array interface
    template<typename T,int N,template<typename> class Ref,typename D>
- class array
- : public array_interface<T,N,Ref,array<T,N,Ref,D> >
+ class array_policy
+ : public array_interface<T,N,Ref,array_policy<T,N,Ref,D> >
     {
 
         typedef typename ref_array<T,N,Ref>::type ref_array_;
@@ -71,7 +69,6 @@
 
     };
 
-}// policy
 }// auto_size
 }// detail
 }// assign

Copied: sandbox/statistics/detail/assign/boost/assign/auto_size/array/wrapper.hpp (from r60007, /sandbox/statistics/detail/assign/boost/assign/auto_size/detail/array_wrapper.hpp)
==============================================================================
--- /sandbox/statistics/detail/assign/boost/assign/auto_size/detail/array_wrapper.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/array/wrapper.hpp 2010-02-28 19:39:43 EST (Sun, 28 Feb 2010)
@@ -1,5 +1,5 @@
 //////////////////////////////////////////////////////////////////////////////
-// assign::detail::array_wrapper.hpp //
+// assign::detail::array::wrapper.hpp //
 // //
 // (C) Copyright 2010 Erwann Rogard //
 // Use, modification and distribution are subject to the //
@@ -9,7 +9,7 @@
 #ifndef BOOST_ASSIGN_AUTO_SIZE_DETAIL_ARRAY_WRAPPER_ER_2010_HPP
 #define BOOST_ASSIGN_AUTO_SIZE_DETAIL_ARRAY_WRAPPER_ER_2010_HPP
 #include <boost/shared_ptr.hpp>
-#include <boost/assign/auto_size/detail/array_interface.hpp>
+#include <boost/assign/auto_size/array/interface.hpp>
 #include <boost/assign/auto_size/detail/auto_size.hpp>
 
 namespace boost{

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-28 19:39:43 EST (Sun, 28 Feb 2010)
@@ -19,7 +19,7 @@
 //#include <boost/range.hpp>
 #include <boost/assign/list_of.hpp> // needed for assign_referene
 #include <boost/assign/auto_size/detail/assign_refence_copy.hpp>
-#include <boost/assign/auto_size/detail/policy/array.hpp>
+#include <boost/assign/auto_size/array/policy.hpp>
 
 // Creates a collection of references.
 //
@@ -72,7 +72,7 @@
         template<typename E,typename T,int N,template<typename> class Ref>
         struct apply{
                         typedef expr<E,T,N,Ref,default_policy> expr_;
- typedef policy::array<T,N,Ref,expr_> type;
+ typedef array_policy<T,N,Ref,expr_> type;
             };
     };
 

Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/detail/csv.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/detail/csv.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/detail/csv.hpp 2010-02-28 19:39:43 EST (Sun, 28 Feb 2010)
@@ -14,7 +14,7 @@
 #include <boost/preprocessor/repetition/enum_params.hpp>
 #include <boost/preprocessor/repetition/enum_binary_params.hpp>
 #include <boost/assign/auto_size/detail/auto_size.hpp>
-#include <boost/assign/auto_size/detail/array_wrapper.hpp>
+#include <boost/assign/auto_size/array/wrapper.hpp>
 
 // Whereas successive unary function calls is the usual way to create a collec-
 // tion in Boost.Assign, this macro provides, as an alternative, functions that

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-28 19:39:43 EST (Sun, 28 Feb 2010)
@@ -9,7 +9,7 @@
 #ifndef BOOST_ASSIGN_AUTO_SIZE_REF_LIST_OF_ER_2010_HPP
 #define BOOST_ASSIGN_AUTO_SIZE_REF_LIST_OF_ER_2010_HPP
 #include <boost/assign/auto_size/detail/auto_size.hpp>
-#include <boost/assign/auto_size/detail/array_wrapper.hpp>
+#include <boost/assign/auto_size/array/wrapper.hpp>
 
 // Creates a collection of references whose functionality is that of assign::
 // auto_size::detail::array_interface. It can be used either as the rhs or lhs

Modified: sandbox/statistics/detail/assign/libs/assign/example/ref_list_of.cpp
==============================================================================
--- sandbox/statistics/detail/assign/libs/assign/example/ref_list_of.cpp (original)
+++ sandbox/statistics/detail/assign/libs/assign/example/ref_list_of.cpp 2010-02-28 19:39:43 EST (Sun, 28 Feb 2010)
@@ -14,7 +14,7 @@
 //#include <boost/assign/auto_size/ref_list_of.hpp>
 #include <boost/assign/auto_size/ref_list_of_csv.hpp>
 #include <boost/assign/auto_size/ref_rebind_list_of_csv.hpp>
-#include <boost/assign/auto_size/detail/array_wrapper.hpp>
+#include <boost/assign/auto_size/array/wrapper.hpp>
 
 #include <boost/assign/list_of.hpp>
 #include <libs/assign/example/ref_list_of.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