|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r66927 - sandbox/statistics/support/boost/assign/v2/detail/checking
From: erwann.rogard_at_[hidden]
Date: 2010-11-30 17:08:50
Author: e_r
Date: 2010-11-30 17:08:49 EST (Tue, 30 Nov 2010)
New Revision: 66927
URL: http://svn.boost.org/trac/boost/changeset/66927
Log:
cosmetic upd to boost/assign/v2
Text files modified:
sandbox/statistics/support/boost/assign/v2/detail/checking/relational_op.hpp | 48 ++++++++++++++++++++--------------------
1 files changed, 24 insertions(+), 24 deletions(-)
Modified: sandbox/statistics/support/boost/assign/v2/detail/checking/relational_op.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/checking/relational_op.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/checking/relational_op.hpp 2010-11-30 17:08:49 EST (Tue, 30 Nov 2010)
@@ -19,34 +19,34 @@
namespace checking{
namespace relational_op{
- // R must derive from relational_op_aux::crtp<> and r contain the checking
+ // R must derive from relational_op_aux::crtp<> and r contain the checking
// constants.
template<typename R>
void do_check(R const& r)
- {
- typedef boost::array<int,8> ar_;
- ar_ ar;
- {
- using namespace constants;
- ar[0] = a; ar[1] = b; ar[2] = c;
- ar[3] = d; ar[4] = e; ar[5] = f;
- ar[6] = g; ar[7] = h;
- }
- BOOST_ASSIGN_V2_CHECK_EQUAL( (ar == r), true );
- BOOST_ASSIGN_V2_CHECK_EQUAL( (ar != r), false );
- BOOST_ASSIGN_V2_CHECK_EQUAL( (ar < r), false );
- BOOST_ASSIGN_V2_CHECK_EQUAL( (ar > r), false );
- BOOST_ASSIGN_V2_CHECK_EQUAL( (ar <= r), true );
- BOOST_ASSIGN_V2_CHECK_EQUAL( (ar >= r), true );
- ++ar[2];
- BOOST_ASSIGN_V2_CHECK_EQUAL( (ar == r), false );
- BOOST_ASSIGN_V2_CHECK_EQUAL( (ar != r), true );
- BOOST_ASSIGN_V2_CHECK_EQUAL( (ar < r), false );
- BOOST_ASSIGN_V2_CHECK_EQUAL( (ar > r), true );
- BOOST_ASSIGN_V2_CHECK_EQUAL( (ar <= r), false );
- BOOST_ASSIGN_V2_CHECK_EQUAL( (ar >= r), true );
+ {
+ typedef boost::array<int,8> ar_;
+ ar_ ar;
+ {
+ using namespace constants;
+ ar[0] = a; ar[1] = b; ar[2] = c;
+ ar[3] = d; ar[4] = e; ar[5] = f;
+ ar[6] = g; ar[7] = h;
+ }
+ BOOST_ASSIGN_V2_CHECK_EQUAL( (ar == r), true );
+ BOOST_ASSIGN_V2_CHECK_EQUAL( (ar != r), false );
+ BOOST_ASSIGN_V2_CHECK_EQUAL( (ar < r), false );
+ BOOST_ASSIGN_V2_CHECK_EQUAL( (ar > r), false );
+ BOOST_ASSIGN_V2_CHECK_EQUAL( (ar <= r), true );
+ BOOST_ASSIGN_V2_CHECK_EQUAL( (ar >= r), true );
+ ++ar[2];
+ BOOST_ASSIGN_V2_CHECK_EQUAL( (ar == r), false );
+ BOOST_ASSIGN_V2_CHECK_EQUAL( (ar != r), true );
+ BOOST_ASSIGN_V2_CHECK_EQUAL( (ar < r), false );
+ BOOST_ASSIGN_V2_CHECK_EQUAL( (ar > r), true );
+ BOOST_ASSIGN_V2_CHECK_EQUAL( (ar <= r), false );
+ BOOST_ASSIGN_V2_CHECK_EQUAL( (ar >= r), true );
- }
+ }
}// relational_op
}// checking
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