|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r60842 - sandbox/statistics/detail/assign/boost/assign/auto_size/check
From: erwann.rogard_at_[hidden]
Date: 2010-03-25 22:16:21
Author: e_r
Date: 2010-03-25 22:16:21 EDT (Thu, 25 Mar 2010)
New Revision: 60842
URL: http://svn.boost.org/trac/boost/changeset/60842
Log:
m
Added:
sandbox/statistics/detail/assign/boost/assign/auto_size/check/chain_l.hpp
- copied unchanged from r60841, /sandbox/statistics/detail/assign/boost/assign/auto_size/check/chain_convert_l.hpp
Removed:
sandbox/statistics/detail/assign/boost/assign/auto_size/check/chain_convert_l.hpp
Text files modified:
sandbox/statistics/detail/assign/boost/assign/auto_size/check/chain_convert_r.hpp | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
Deleted: sandbox/statistics/detail/assign/boost/assign/auto_size/check/chain_convert_l.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/check/chain_convert_l.hpp 2010-03-25 22:16:21 EDT (Thu, 25 Mar 2010)
+++ (empty file)
@@ -1,71 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-// assign::detail::auto_size::check_chain_l.hpp //
-// //
-// (C) Copyright 2010 Erwann Rogard //
-// Use, modification and distribution are subject to the //
-// Boost Software License, Version 1.0. (See accompanying file //
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) //
-//////////////////////////////////////////////////////////////////////////////
-#ifndef BOOST_ASSIGN_DETAIL_AUTO_SIZE_CHECK_CHAIN_L_ER_2010_HPP
-#define BOOST_ASSIGN_DETAIL_AUTO_SIZE_CHECK_CHAIN_L_ER_2010_HPP
-#include <boost/array.hpp>
-#include <boost/typeof/typeof.hpp>
-#include <boost/range/algorithm/copy.hpp>
-#include <boost/assign/auto_size/range/chain.hpp>
-#include <boost/assign/auto_size/check/iterator.hpp>
-#include <boost/assign/auto_size/check/constants.hpp>
-#include <boost/assign/auto_size/check/copy_iterator.hpp>
-
-#ifndef BOOST_ASSIGN_CHECK_EQUAL
-#error
-#endif
-
-#define BOOST_ASSIGN_AS_CHECK_chain_l \
-{ \
- typedef T val_; \
- using namespace check_constants; \
- boost::array<val_,8> ar; \
- ar[0] = a; ar[1] = b; ar[2] = c; \
- ar[3] = d; ar[4] = e; ar[5] = f; \
- ar[6] = g; ar[7] = h; \
- val_ a1 = a, b1 = b, c1 = c, \
- d1 = d, e1 = e, f1 = f, \
- g1 = g, h1 = h; \
- typedef boost::array<T,2> ar2_; \
- typedef boost::array<T,3> ar3_; \
- ar3_ ar1, ar2; \
- ar2_ ar3; \
- ar1[0] = a1; ar1[1] = b1; ar1[2] = c1; \
- ar2[0] = d1; ar2[1] = e1; ar2[2] = f1; \
- ar3[0] = g1; ar3[1] = h1; \
- BOOST_AUTO(tmp1,BOOST_ASSIGN_AS_CHECK_ref3(a1,b1,c1)); \
- BOOST_AUTO(tmp2,BOOST_ASSIGN_AS_CHECK_ref3(d1,e1,f1)); \
- BOOST_AUTO(tmp3,BOOST_ASSIGN_AS_CHECK_ref2(g1,h1)); \
- boost::copy(ar, boost::begin(chain_l(ar1)(ar2)(ar3))); \
- check_values_impl( \
- ar1[0],ar1[1],ar1[2],ar2[0],ar2[1],ar2[2],ar3[0],ar3[1]); \
- boost::copy(ar, boost::begin(chain_l(ar1)(ar2)(tmp3))); \
- check_values_impl( \
- ar1[0],ar1[1],ar1[2],ar2[0],ar2[1],ar2[2], g1 , h1 ); \
- boost::copy(ar, boost::begin(chain_l(ar1)(tmp2)(ar3))); \
- check_values_impl( \
- ar1[0],ar1[1],ar1[2], d1 , e1 , f1 ,ar3[0],ar3[1]); \
- boost::copy(ar, boost::begin(chain_l(ar1)(tmp2)(tmp3))); \
- check_values_impl( \
- ar1[0],ar1[1],ar1[2], d1 , e1 , f1 , g1 , h1 ); \
- boost::copy(ar, boost::begin(chain_l(tmp1)(ar2)(ar3))); \
- check_values_impl( \
- a1 , b1 , c1 ,ar2[0],ar2[1],ar2[2],ar3[0],ar3[1]); \
- boost::copy(ar, boost::begin(chain_l(tmp1)(ar2)(tmp3))); \
- check_values_impl( \
- a1 , b1 , c1 ,ar2[0],ar2[1],ar2[2], g1 , h1 ); \
- boost::copy(ar, boost::begin(chain_l(tmp1)(tmp2)(ar3))); \
- check_values_impl( \
- a1 , b1 , c1 , d1 , e1 , f1 ,ar3[0],ar3[1]); \
- boost::copy(ar, boost::begin(chain_l(tmp1)(tmp2)(tmp3))); \
- check_values_impl( \
- a1 , b1 , c1 , d1 , e1 , f1 , g1 , h1 ); \
-} \
-/**/
-
-#endif
Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/check/chain_convert_r.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/check/chain_convert_r.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/check/chain_convert_r.hpp 2010-03-25 22:16:21 EDT (Thu, 25 Mar 2010)
@@ -20,7 +20,7 @@
#error
#endif
-#define BOOST_ASSIGN_AS_CHECK_chain_r \
+#define BOOST_ASSIGN_AS_CHECK_chain_r \
{ \
typedef T val_; \
using namespace check_constants; \
@@ -37,14 +37,14 @@
BOOST_AUTO(tmp1,BOOST_ASSIGN_AS_CHECK_ref3(a1,b1,c1)); \
BOOST_AUTO(tmp2,BOOST_ASSIGN_AS_CHECK_ref3(d1,e1,f1)); \
BOOST_AUTO(tmp3,BOOST_ASSIGN_AS_CHECK_ref2(g1,h1)); \
- check_iterator_impl( boost::begin( chain_r(ar1)(ar2)(ar3) ) ); \
- check_iterator_impl( boost::begin( chain_r(ar1)(ar2)(tmp3) ) ); \
- check_iterator_impl( boost::begin( chain_r(ar1)(tmp2)(ar3) ) ); \
- check_iterator_impl( boost::begin( chain_r(ar1)(tmp2)(tmp3) ) ); \
- check_iterator_impl( boost::begin( chain_r(tmp1)(ar2)(ar3) ) ); \
- check_iterator_impl( boost::begin( chain_r(tmp1)(ar2)(tmp3) ) ); \
- check_iterator_impl( boost::begin( chain_r(tmp1)(tmp2)(ar3) ) ); \
- check_iterator_impl( boost::begin( chain_r(tmp1)(tmp2)(tmp3) ) ); \
+ check_iterator_impl( boost::begin( chain_r(ar1)(ar2)(ar3) ) ); \
+ check_iterator_impl( boost::begin( chain_r(ar1)(ar2)(tmp3) ) ); \
+ check_iterator_impl( boost::begin( chain_r(ar1)(tmp2)(ar3) ) ); \
+ check_iterator_impl( boost::begin( chain_r(ar1)(tmp2)(tmp3) ) ); \
+ check_iterator_impl( boost::begin( chain_r(tmp1)(ar2)(ar3) ) ); \
+ check_iterator_impl( boost::begin( chain_r(tmp1)(ar2)(tmp3) ) ); \
+ check_iterator_impl( boost::begin( chain_r(tmp1)(tmp2)(ar3) ) ); \
+ check_iterator_impl( boost::begin( chain_r(tmp1)(tmp2)(tmp3) ) ); \
} \
/**/
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