|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r59948 - sandbox/statistics/detail/assign/libs/assign/example
From: erwann.rogard_at_[hidden]
Date: 2010-02-26 08:58:06
Author: e_r
Date: 2010-02-26 08:58:05 EST (Fri, 26 Feb 2010)
New Revision: 59948
URL: http://svn.boost.org/trac/boost/changeset/59948
Log:
m
Text files modified:
sandbox/statistics/detail/assign/libs/assign/example/cref_list_of2.cpp | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
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-26 08:58:05 EST (Fri, 26 Feb 2010)
@@ -26,25 +26,25 @@
// Since operator= calls begin(), end(), no need to test these separately
- {
- // cref_list_of
+ {
+ // cref_list_of
int a=1, b=2, c=3;
ints_ ints;
{
ints.clear();
- ints = cref_list_of(a)(b)(3);
- BOOST_ASSERT(ints[0] == a);
- BOOST_ASSERT(ints[1] == b);
- BOOST_ASSERT(ints[2] == c);
+ ints = cref_list_of(a)(b)(3);
+ BOOST_ASSERT(ints[0] == a);
+ BOOST_ASSERT(ints[1] == b);
+ BOOST_ASSERT(ints[2] == c);
}
{
- array.assign(-1);
- array = cref_list_of(a)(b)(3);
- BOOST_ASSERT(array[0] == a);
- BOOST_ASSERT(array[1] == b);
- BOOST_ASSERT(array[2] == c);
+ array.assign(-1);
+ array = cref_list_of(a)(b)(3);
+ BOOST_ASSERT(array[0] == a);
+ BOOST_ASSERT(array[1] == b);
+ BOOST_ASSERT(array[2] == c);
}
{
BOOST_AUTO(tmp,ref_list_of(a)(b)(c));
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