|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r73062 - in branches/pplib/v2: boost/preprocessor/debug libs/preprocessor/test
From: eldiener_at_[hidden]
Date: 2011-07-13 15:01:20
Author: eldiener
Date: 2011-07-13 15:01:19 EDT (Wed, 13 Jul 2011)
New Revision: 73062
URL: http://svn.boost.org/trac/boost/changeset/73062
Log:
Updated assert macros.
Text files modified:
branches/pplib/v2/boost/preprocessor/debug/assert_is_list.hpp | 10 ----------
branches/pplib/v2/boost/preprocessor/debug/assert_is_seq.hpp | 2 +-
branches/pplib/v2/boost/preprocessor/debug/assert_is_tuple.hpp | 18 ------------------
branches/pplib/v2/libs/preprocessor/test/debug.cxx | 2 +-
4 files changed, 2 insertions(+), 30 deletions(-)
Modified: branches/pplib/v2/boost/preprocessor/debug/assert_is_list.hpp
==============================================================================
--- branches/pplib/v2/boost/preprocessor/debug/assert_is_list.hpp (original)
+++ branches/pplib/v2/boost/preprocessor/debug/assert_is_list.hpp 2011-07-13 15:01:19 EDT (Wed, 13 Jul 2011)
@@ -72,16 +72,6 @@
/**/
#
# define BOOST_PP_IS_LIST_DETAIL_PROCESS_TUPLE(x) \
- BOOST_PP_IIF \
- ( \
- BOOST_PP_ASSERT_IS_TUPLE_DETAIL_RETURN(x), \
- BOOST_PP_IS_LIST_DETAIL_PROCESS_TWO_ELEMENT_TUPLE, \
- BOOST_PP_IS_LIST_DETAIL_RETURN_NIL \
- ) \
- (x) \
-/**/
-#
-# define BOOST_PP_IS_LIST_DETAIL_PROCESS_TWO_ELEMENT_TUPLE(x) \
BOOST_PP_ASSERT_IS_TUPLE(x) \
BOOST_PP_IIF \
( \
Modified: branches/pplib/v2/boost/preprocessor/debug/assert_is_seq.hpp
==============================================================================
--- branches/pplib/v2/boost/preprocessor/debug/assert_is_seq.hpp (original)
+++ branches/pplib/v2/boost/preprocessor/debug/assert_is_seq.hpp 2011-07-13 15:01:19 EDT (Wed, 13 Jul 2011)
@@ -61,7 +61,7 @@
# define BOOST_PP_IS_SEQ_DETAIL_OP(d,state) \
BOOST_PP_IIF \
( \
- BOOST_PP_IS_SEQ_DETAIL_IS_AFTER_FIRST_TUPLE(x), \
+ BOOST_PP_IS_SEQ_DETAIL_IS_AFTER_FIRST_TUPLE(state), \
BOOST_PP_IS_SEQ_DETAIL_GET_AFTER_FIRST_TUPLE, \
BOOST_PP_IS_SEQ_DETAIL_GEN_NOT_TUPLE \
) \
Modified: branches/pplib/v2/boost/preprocessor/debug/assert_is_tuple.hpp
==============================================================================
--- branches/pplib/v2/boost/preprocessor/debug/assert_is_tuple.hpp (original)
+++ branches/pplib/v2/boost/preprocessor/debug/assert_is_tuple.hpp 2011-07-13 15:01:19 EDT (Wed, 13 Jul 2011)
@@ -38,24 +38,6 @@
) \
/**/
#
-# define BOOST_PP_ASSERT_IS_TUPLE_DETAIL_RETURN(x) \
- BOOST_PP_IS_TUPLE_DETAIL_ASSERT \
- ( \
- BOOST_PP_IIF \
- ( \
- BOOST_PP_IS_TUPLE_BEGIN(x), \
- BOOST_PP_IS_TUPLE_DETAIL_IS_NOT_AFTER, \
- BOOST_PP_IS_TUPLE_DETAIL_GEN_ZERO \
- ) \
- (x) \
- ) \
-/**/
-#
-# define BOOST_PP_IS_TUPLE_DETAIL_ASSERT(x) \
- BOOST_PP_ASSERT(x) \
- x \
-/**/
-#
# define BOOST_PP_IS_TUPLE_DETAIL_IS_NOT_AFTER(x) \
BOOST_PP_IS_EMPTY(BOOST_PP_IS_TUPLE_DETAIL_EXPAND_AFTER x) \
/**/
Modified: branches/pplib/v2/libs/preprocessor/test/debug.cxx
==============================================================================
--- branches/pplib/v2/libs/preprocessor/test/debug.cxx (original)
+++ branches/pplib/v2/libs/preprocessor/test/debug.cxx 2011-07-13 15:01:19 EDT (Wed, 13 Jul 2011)
@@ -30,7 +30,7 @@
BOOST_PP_ASSERT_IS_ARRAY((6,(x,3,e,2,(4,(x,3,e,2)),$)))
BOOST_PP_ASSERT_IS_LIST((4,(x,BOOST_PP_NIL)))
BOOST_PP_ASSERT_IS_LIST(((3,6m,irj),(x,BOOST_PP_NIL)))
-// BOOST_PP_ASSERT_IS_SEQ((x)(y)(z)(2)(3)(4))
+BOOST_PP_ASSERT_IS_SEQ((x)(y)(z)(2)(3)(4))
// BOOST_PP_ASSERT_IS_SEQ((x)(y)(z)((1,2))(3)(4))
// BOOST_PP_ASSERT_IS_SEQ((x)(y)(z)((1,2))(3)((4,(x,BOOST_PP_NIL))))
// BOOST_PP_ASSERT_IS_SEQ((x)(y)((x)(y)(z)(2)(3)(4))((1,2))(3)((4,(x,BOOST_PP_NIL))))
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