|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r60911 - in sandbox/statistics/detail/assign: boost/assign/auto_size/check boost/assign/auto_size/detail libs/assign/src
From: erwann.rogard_at_[hidden]
Date: 2010-03-29 09:48:26
Author: e_r
Date: 2010-03-29 09:48:25 EDT (Mon, 29 Mar 2010)
New Revision: 60911
URL: http://svn.boost.org/trac/boost/changeset/60911
Log:
m
Text files modified:
sandbox/statistics/detail/assign/boost/assign/auto_size/check/all.hpp | 5 +----
sandbox/statistics/detail/assign/boost/assign/auto_size/check/chain_r.hpp | 4 ++--
sandbox/statistics/detail/assign/boost/assign/auto_size/check/example2.hpp | 6 +++---
sandbox/statistics/detail/assign/boost/assign/auto_size/detail/expr.hpp | 4 ----
sandbox/statistics/detail/assign/libs/assign/src/main.cpp | 2 +-
5 files changed, 7 insertions(+), 14 deletions(-)
Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/check/all.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/check/all.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/check/all.hpp 2010-03-29 09:48:25 EDT (Mon, 29 Mar 2010)
@@ -6,8 +6,7 @@
// 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_ALL_ER_2010_HPP
-//#define BOOST_ASSIGN_DETAIL_AUTO_SIZE_CHECK_ALL_ER_2010_HPP
+// Do not put #ifndef #define directives here
#include <boost/preprocessor/cat.hpp>
#include <vector>
#include <set>
@@ -79,5 +78,3 @@
/**/
#undef BOOST_ASSIGN_AS_CHECK_fun_tpl
-
-//#endif
Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/check/chain_r.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/check/chain_r.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/check/chain_r.hpp 2010-03-29 09:48:25 EDT (Mon, 29 Mar 2010)
@@ -6,8 +6,8 @@
// 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_CONVERT_ER_2010_HPP
-#define BOOST_ASSIGN_DETAIL_AUTO_SIZE_CHECK_CHAIN_CONVERT_ER_2010_HPP
+#ifndef BOOST_ASSIGN_DETAIL_AUTO_SIZE_CHECK_CHAIN_R_ER_2010_HPP
+#define BOOST_ASSIGN_DETAIL_AUTO_SIZE_CHECK_CHAIN_R_ER_2010_HPP
#include <boost/array.hpp>
#include <boost/typeof/typeof.hpp>
#include <boost/range/algorithm/copy.hpp>
Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/check/example2.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/check/example2.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/check/example2.hpp 2010-03-29 09:48:25 EDT (Mon, 29 Mar 2010)
@@ -19,14 +19,14 @@
std::vector<int> v, v2; \
v = BOOST_ASSIGN_AS_CHECK_cref3(1,2,3); \
boost::copy( \
- chain_r( \
+ chain_r( \
BOOST_ASSIGN_AS_CHECK_cref1(0) \
)( v )( v )( BOOST_ASSIGN_AS_CHECK_cref1(4) ), \
std::back_inserter(v2) \
); \
BOOST_ASSIGN_CHECK_EQUAL( v2.size() , 8u ); \
boost::copy( \
- chain_r(v2)(BOOST_ASSIGN_AS_CHECK_cref1(5)), \
+ chain_r(v2)(BOOST_ASSIGN_AS_CHECK_cref1(5)), \
std::back_inserter(v) \
); \
BOOST_ASSIGN_CHECK_EQUAL( v.size() , 12u ); \
@@ -34,7 +34,7 @@
int y = 1; \
BOOST_ASSIGN_CHECK_EQUAL( \
boost::size( \
- chain_r( \
+ chain_r( \
BOOST_ASSIGN_AS_CHECK_cref1( x ) \
)( v2 )( BOOST_ASSIGN_AS_CHECK_cref1( y ) ) \
), \
Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/detail/expr.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/detail/expr.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/detail/expr.hpp 2010-03-29 09:48:25 EDT (Mon, 29 Mar 2010)
@@ -46,10 +46,6 @@
//
// Acknowledgement: The idea of this class was developed in collaboration
// with M.P.G
-//
-// range<int>() is provided to achieve conformity with the rest of Boost.Assign
-// but it is in fact ill suited here. See chain_l() and
-// chain_r() as an alternative.
namespace boost{
namespace assign{
Modified: sandbox/statistics/detail/assign/libs/assign/src/main.cpp
==============================================================================
--- sandbox/statistics/detail/assign/libs/assign/src/main.cpp (original)
+++ sandbox/statistics/detail/assign/libs/assign/src/main.cpp 2010-03-29 09:48:25 EDT (Mon, 29 Mar 2010)
@@ -122,7 +122,7 @@
fp = check_ref_csv_adapter_queue<int>;
(*fp)();
}
- { // 13
+ { // 13
fp = check_ref_csv_chain_r<int>;
(*fp)();
}
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