Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59464 - sandbox/statistics/detail/assign/boost/assign
From: erwann.rogard_at_[hidden]
Date: 2010-02-03 22:34:35


Author: e_r
Date: 2010-02-03 22:34:34 EST (Wed, 03 Feb 2010)
New Revision: 59464
URL: http://svn.boost.org/trac/boost/changeset/59464

Log:
m
Text files modified:
   sandbox/statistics/detail/assign/boost/assign/cref_list_of2.hpp | 14 ++++++--------
   1 files changed, 6 insertions(+), 8 deletions(-)

Modified: sandbox/statistics/detail/assign/boost/assign/cref_list_of2.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/cref_list_of2.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/cref_list_of2.hpp 2010-02-03 22:34:34 EST (Wed, 03 Feb 2010)
@@ -27,12 +27,8 @@
 // Complexity of cref_list2_of for size N : A total of N reference_wrappers
 // are stored. Another N are constructed at conversion.
 //
-// TODO perhaps the stored ref_ could be used as a private base ();
-template<
- typename T,
- int N,
- typename B
->
+// TODO perhaps the stored ref_ could be used as a private base;
+template<typename T,int N, typename B>
 class cref_impl : B{
     
     typedef boost::assign_detail::assign_reference<const T> ref_;
@@ -53,7 +49,9 @@
         template<typename T1>
     struct array{ typedef boost::array<T1,N+1> type; };
 
- template<typename T1> // because reference_wrapper has no default constructor
+ // because reference_wrapper has no default constructor, assign_reference
+ // is needed
+ template<typename T1>
     struct ref_array
             : array<boost::assign_detail::assign_reference<const T1> >{};
     
@@ -91,7 +89,7 @@
         return ar;
     }
     
- // Requirement: C(begin,end) constructor
+ // Requirement: C(begin,end) is a valid constructor
         template<typename C>
         operator C(){
             // TODO consider instead:


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