Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59914 - sandbox/statistics/detail/assign/boost/assign/auto_size
From: erwann.rogard_at_[hidden]
Date: 2010-02-25 15:30:11


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

Log:
m
Text files modified:
   sandbox/statistics/detail/assign/boost/assign/auto_size/ref_list_of.hpp | 9 +++++----
   sandbox/statistics/detail/assign/boost/assign/auto_size/ref_rebind_list_of.hpp | 12 ++++++------
   2 files changed, 11 insertions(+), 10 deletions(-)

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:30:11 EST (Thu, 25 Feb 2010)
@@ -10,11 +10,12 @@
 #define BOOST_ASSIGN_AUTO_SIZE_REF_LIST_OF_ER_2010_HPP
 #include <boost/assign/auto_size/detail/auto_size.hpp>
 
-// This function supersedes ref_list_of<int>() as it deduces the number of
-// elements from the arguments but also uses copy rather than rebind semantics,
-// if used as the lhs of an assignement :
+// 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
 // boost::fill(ref_list_of(a)(b)(c),0)
-// assigns 0 to a,b,c.
+// Note that this function supersedes ref_list_of<int>()
 
 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-02-25 15:30:11 EST (Thu, 25 Feb 2010)
@@ -10,12 +10,12 @@
 #define BOOST_ASSIGN_AUTO_SIZE_REF_REBIND_LIST_OF_ER_2010_HPP
 #include <boost/assign/auto_size/detail/auto_size.hpp>
 
-// This function supersedes ref_list_of<int>() as it deduces the number of
-// elements, from the arguments. The infix 'rebind' emphasizes that if the
-// result is the lhs of an assignement such as,
-// ref_rebind_list_of(a)(b)(c).assign(d)
-// binds a, b and c to d. Unless this specific feature is required, it is more
-// straightforward to use ref_list_of().
+// Creates an anonymous collection of references whose interface is that of
+// boost::array. When used as the lhs of an assignment, such as
+// 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().
+// Note that this function supersedes ref_list_of<int>()
 
 namespace boost{
 namespace assign{


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