|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r59452 - sandbox/statistics/detail/assign/boost/assign
From: erwann.rogard_at_[hidden]
Date: 2010-02-03 15:46:28
Author: e_r
Date: 2010-02-03 15:46:28 EST (Wed, 03 Feb 2010)
New Revision: 59452
URL: http://svn.boost.org/trac/boost/changeset/59452
Log:
m
Text files modified:
sandbox/statistics/detail/assign/boost/assign/cref_list_of2.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 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 15:46:28 EST (Wed, 03 Feb 2010)
@@ -24,7 +24,7 @@
// Usage : vec = cref_list2_of(a)(b)(c)
// The idea of this class was developed in collaboration with P.M.
-// Complexity of cref_list2_of for size N : 2*N allocation of references
+// Complexity of cref_list2_of for size N : 2*N allocation of reference wrappers.
template<
typename T,
int N,
@@ -92,7 +92,7 @@
template<typename C>
operator C(){
// TODO consider instead:
- // C c; c.reserve()
+ // C c; c.reserve(N+1)
// and recursively calling c.push_front(ref)
typedef typename boost::range_value<C>::type val_;
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