Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59903 - 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-25 09:59:16


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

Log:
m
Text files modified:
   sandbox/statistics/detail/assign/boost/assign/auto_size/detail/auto_size.hpp | 4 ++--
   sandbox/statistics/detail/assign/boost/assign/auto_size/ref_rebind_list_of.hpp | 4 ++--
   sandbox/statistics/detail/assign/libs/assign/example/cref_list_of2.cpp | 1 -
   3 files changed, 4 insertions(+), 5 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 09:59:15 EST (Thu, 25 Feb 2010)
@@ -23,8 +23,8 @@
 //
 // 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
-// parameter. In general, a reference wrapper that has copy rather than rebind
-// semantics for operator= is preferable in most situations.
+// parameter. In most situations, a reference wrapper that has copy rather than
+// rebind semantics for operator= is preferable.
 //
 // Acknowledgement: The idea of this class was developed in collaboration
 // with M.P.G

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 09:59:15 EST (Thu, 25 Feb 2010)
@@ -12,9 +12,9 @@
 
 // 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 if on the lhs of an assignement such as,
+// result is the lhs of an assignement such as,
 // boost::fill(ref_rebind_list_of(a)(b)(c),d)
-// the elements, here a, b and c, are bound to d. Unless this specific feature
+// the elements, a, b and c, are bound to d. Unless this specific feature
 // is required, it is more straightforward to use ref_list_of().
 
 namespace boost{

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-25 09:59:15 EST (Thu, 25 Feb 2010)
@@ -104,7 +104,6 @@
             std::fill(boost::begin(tmp),boost::end(tmp),d);
             d = 5;
             // Prints 4, 4, 4 instead of 5, 5, 5. However, works with Foo.
- // rvalue/lvalue?
             std::copy(
                     boost::begin(tmp),
                 boost::end(tmp),


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