|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r66867 - sandbox/statistics/support/boost/assign/v2/chain/checking
From: erwann.rogard_at_[hidden]
Date: 2010-11-29 20:08:08
Author: e_r
Date: 2010-11-29 20:08:07 EST (Mon, 29 Nov 2010)
New Revision: 66867
URL: http://svn.boost.org/trac/boost/changeset/66867
Log:
cosmetic upd to /libs/assign/v2
Text files modified:
sandbox/statistics/support/boost/assign/v2/chain/checking/twin_values.hpp | 14 ++------------
1 files changed, 2 insertions(+), 12 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:08:07 EST (Mon, 29 Nov 2010)
@@ -138,21 +138,9 @@
typedef typename ref::type_traits::copy_wrapper<T>::type w_;
typedef boost::is_reference_wrapper<w_> is_;
- // TODO std::vector causes problems.
- //boost::array<int, 2> vw1;
boost::array<int, 3> vw2;//, vw3;
std::vector<int> vw1( 2 );
std::vector<int> vw3( 3 );
- /*{
- vw1[ 0 ] = a1 ;
- vw1[ 1 ] = b1 ;
- vw2[ 0 ] = c1 ;
- vw2[ 1 ] = d1 ;
- vw2[ 2 ] = e1 ;
- vw3[ 0 ] = f1 ;
- vw3[ 1 ] = g1 ;
- vw3[ 2 ] = h1 ;
- }*/
using namespace adaptor;
boost::copy(
vt,
@@ -165,6 +153,8 @@
vw1 | _chain( vw2 ) | _chain( vw3 )
);
}
+ // only to avoid warning unused
+ a1 + b1 + c1 + d1 + e1 + 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