|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r66870 - sandbox/statistics/support/boost/assign/v2/chain/checking
From: erwann.rogard_at_[hidden]
Date: 2010-11-29 20:41:40
Author: e_r
Date: 2010-11-29 20:41:38 EST (Mon, 29 Nov 2010)
New Revision: 66870
URL: http://svn.boost.org/trac/boost/changeset/66870
Log:
cosmetic update to boost/assign/v2
Text files modified:
sandbox/statistics/support/boost/assign/v2/chain/checking/twin_values.hpp | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
Modified: sandbox/statistics/support/boost/assign/v2/chain/checking/twin_values.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/chain/checking/twin_values.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/chain/checking/twin_values.hpp 2010-11-29 20:41:38 EST (Mon, 29 Nov 2010)
@@ -103,11 +103,11 @@
// runtime checks
{
- typedef std::vector<T> vt_;
+ typedef std::vector<T> vt_;
vt_ vt1( 2 ), vt2( 3 ), vt3( 3 );
- vt_ vt;
+ vt_ vt;
{
- namespace ns = v2::checking::constants;
+ namespace ns = v2::checking::constants;
vt.push_back( ns::a );
vt.push_back( ns::b );
vt.push_back( ns::c );
@@ -117,11 +117,11 @@
vt.push_back( ns::g );
vt.push_back( ns::h );
{
- using namespace adaptor;
- boost::copy(
- vt,
- boost::begin( vt1 | _chain( vt2 ) | _chain( vt3 ))
- );
+ using namespace adaptor;
+ boost::copy(
+ vt,
+ boost::begin( vt1 | _chain( vt2 ) | _chain( vt3 ))
+ );
}
{
using namespace adaptor;
@@ -153,8 +153,8 @@
vw1 | _chain( vw2 ) | _chain( vw3 )
);
}
- // only to avoid warning unused
- a1 + b1 + c1 + d1 + e1 + g1 + h1;
+ // suppresses warning unused
+ if(a1 && b1 && c1 && d1 && e1 && f1 && g1 && h1){}
}
}// runtime checks
}// do_check
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