|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r60019 - in sandbox/statistics/detail/assign/boost/assign/auto_size: . array
From: erwann.rogard_at_[hidden]
Date: 2010-03-01 09:00:31
Author: e_r
Date: 2010-03-01 09:00:30 EST (Mon, 01 Mar 2010)
New Revision: 60019
URL: http://svn.boost.org/trac/boost/changeset/60019
Log:
m
Text files modified:
sandbox/statistics/detail/assign/boost/assign/auto_size/array/interface.hpp | 10 ++++++----
sandbox/statistics/detail/assign/boost/assign/auto_size/ref_list_of.hpp | 6 ++----
sandbox/statistics/detail/assign/boost/assign/auto_size/ref_rebind_list_of.hpp | 4 ++--
3 files changed, 10 insertions(+), 10 deletions(-)
Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/array/interface.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/array/interface.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/array/interface.hpp 2010-03-01 09:00:30 EST (Mon, 01 Mar 2010)
@@ -24,10 +24,12 @@
typedef boost::array<typename Ref<T>::type,N> type;
};
- // Requirements:
- // D must implement:
- // const ref_array_& ref_array_impl()const
- // ref_array& ref_array_impl()
+ // Used as a base class of D, adds the array interface and a conversion
+ // operator to any data-structure constructible from a pair of iterators.
+ // Let d an instance of D. Requirements:
+ // Valid expression Result
+ // d.ref_array_impl() const ref_array_&
+ // d.ref_array_impl() ref_array&
template<typename T,int N,template<typename> class Ref,typename D>
struct array_interface{
typedef typename Ref<T>::type ref_;
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-03-01 09:00:30 EST (Mon, 01 Mar 2010)
@@ -9,14 +9,12 @@
#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/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
+// detail::auto_size::array_interface. It can be used either as the rhs or lhs
// of an assignment such as:
// boost::fill(ref_list_of(a)(b)(c),0)
-//
-// The interface
+
namespace boost{
namespace assign{
Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/ref_rebind_list_of.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/ref_rebind_list_of.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/ref_rebind_list_of.hpp 2010-03-01 09:00:30 EST (Mon, 01 Mar 2010)
@@ -11,9 +11,9 @@
#include <boost/assign/auto_size/detail/auto_size.hpp>
// Creates a collection of references whose functionality is that of assign::
-// auto_size::detail::array_interface. Rebind semantics apply if the collection
+// detail::auto_size::array_interface. Rebind semantics apply if the collection
// is the lhs of an assignment:
-// cref_rebind_list_of(a)(b(c).assign(d)
+// cref_rebind_list_of(a)(b)(c).assign(d)
// Unless this specific feature is needed, ref_list_of() is preferable.
namespace boost{
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