Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59916 - in sandbox/statistics/detail/assign/boost/assign/auto_size: . detail
From: erwann.rogard_at_[hidden]
Date: 2010-02-25 15:36:58


Author: e_r
Date: 2010-02-25 15:36:58 EST (Thu, 25 Feb 2010)
New Revision: 59916
URL: http://svn.boost.org/trac/boost/changeset/59916

Log:
m
Text files modified:
   sandbox/statistics/detail/assign/boost/assign/auto_size/detail/auto_size.hpp | 3 ++-
   sandbox/statistics/detail/assign/boost/assign/auto_size/ref_list_of.hpp | 7 +++----
   sandbox/statistics/detail/assign/boost/assign/auto_size/ref_rebind_list_of.hpp | 8 ++++----
   3 files changed, 9 insertions(+), 9 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-25 15:36:58 EST (Thu, 25 Feb 2010)
@@ -19,7 +19,8 @@
 #include <boost/assign/list_of.hpp> // needed for assign_referene
 #include <boost/assign/auto_size/detail/assign_refence_copy.hpp>
 
-// This is the implementation behind ref_rebind_list_of() and ref_list_of().
+// Creates an anonymous collection of references whose interface is that of
+// boost::array.
 //
 // This approach improves upon ref_list_of<int>() by deducing the number of
 // arguments at compile time and factors the reference wrapper into a template

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-25 15:36:58 EST (Thu, 25 Feb 2010)
@@ -10,10 +10,9 @@
 #define BOOST_ASSIGN_AUTO_SIZE_REF_LIST_OF_ER_2010_HPP
 #include <boost/assign/auto_size/detail/auto_size.hpp>
 
-// Creates an anonymous collection of references whose interface is that of
-// boost::array, such as:
-// array = cref_list_of(a)(b)(c)
-// When used as the lhs of an assignment, uses copy semantics, such as
+// Creates collection of references having the boost::array interface and con-
+// vertible to a container constructible from a pair of iterators. It can be
+// used both as the rhs or lhs of an assignment such as:
 // boost::fill(ref_list_of(a)(b)(c),0)
 // Note that this function supersedes ref_list_of<int>()
 

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-02-25 15:36:58 EST (Thu, 25 Feb 2010)
@@ -10,11 +10,11 @@
 #define BOOST_ASSIGN_AUTO_SIZE_REF_REBIND_LIST_OF_ER_2010_HPP
 #include <boost/assign/auto_size/detail/auto_size.hpp>
 
-// Creates an anonymous collection of references whose interface is that of
-// boost::array. When used as the lhs of an assignment, such as
+// Creates collection of references having the boost::array interface and con-
+// vertible to a container constructible from a pair of iterators.
+// Rebind semantics if the collection is lhs of an assignment:
 // cref_rebind_list_of(a)(b)(c).assign(d)
-// rebind semantics are used. Unless this specific feature is required, it is
-// more straightforward to use ref_list_of().
+// Unless this specific feature is needed, ref_list_of() is preferable.
 // Note that this function supersedes ref_list_of<int>()
 
 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