Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r72802 - in branches/pplib/v2: boost/preprocessor/facilities libs/preprocessor/test
From: eldiener_at_[hidden]
Date: 2011-06-29 14:21:52


Author: eldiener
Date: 2011-06-29 14:21:51 EDT (Wed, 29 Jun 2011)
New Revision: 72802
URL: http://svn.boost.org/trac/boost/changeset/72802

Log:
Updated is_tuple and tests.
Text files modified:
   branches/pplib/v2/boost/preprocessor/facilities/is_tuple.hpp | 4 ----
   branches/pplib/v2/libs/preprocessor/test/facilities.c | 2 ++
   branches/pplib/v2/libs/preprocessor/test/facilities.cpp | 2 ++
   3 files changed, 4 insertions(+), 4 deletions(-)

Modified: branches/pplib/v2/boost/preprocessor/facilities/is_tuple.hpp
==============================================================================
--- branches/pplib/v2/boost/preprocessor/facilities/is_tuple.hpp (original)
+++ branches/pplib/v2/boost/preprocessor/facilities/is_tuple.hpp 2011-06-29 14:21:51 EDT (Wed, 29 Jun 2011)
@@ -45,10 +45,6 @@
       ) \
 /**/
 #
-# define BOOST_PP_IS_TUPLE_DETAIL_AFTER_PARENS(x) \
- BOOST_PP_IS_TUPLE_DETAIL_EXPAND_AFTER x \
-/**/
-#
 # define BOOST_PP_IS_TUPLE_DETAIL_EXPAND(...) \
     1,1 \
 /**/

Modified: branches/pplib/v2/libs/preprocessor/test/facilities.c
==============================================================================
--- branches/pplib/v2/libs/preprocessor/test/facilities.c (original)
+++ branches/pplib/v2/libs/preprocessor/test/facilities.c 2011-06-29 14:21:51 EDT (Wed, 29 Jun 2011)
@@ -38,9 +38,11 @@
 # if BOOST_PP_VARIADICS
 
 BEGIN BOOST_PP_IS_TUPLE(TUPLE) == 1 END
+BEGIN BOOST_PP_IS_TUPLE((4,8,ty,2)) == 1 END
 BEGIN BOOST_PP_IS_TUPLE(TUPLE_LARGE) == 1 END
 BEGIN BOOST_PP_IS_TUPLE(TUPLE_VERY_LARGE) == 1 END
 BEGIN BOOST_PP_IS_TUPLE(A green test) == 0 END
 BEGIN BOOST_PP_IS_TUPLE(TUPLE_VERY_LARGE A green test) == 0 END
+BEGIN BOOST_PP_IS_TUPLE((4,8,ty,2)yz) == 0 END
 
 #endif

Modified: branches/pplib/v2/libs/preprocessor/test/facilities.cpp
==============================================================================
--- branches/pplib/v2/libs/preprocessor/test/facilities.cpp (original)
+++ branches/pplib/v2/libs/preprocessor/test/facilities.cpp 2011-06-29 14:21:51 EDT (Wed, 29 Jun 2011)
@@ -40,7 +40,9 @@
 BEGIN BOOST_PP_IS_TUPLE(TUPLE) == 1 END
 BEGIN BOOST_PP_IS_TUPLE(TUPLE_LARGE) == 1 END
 BEGIN BOOST_PP_IS_TUPLE(TUPLE_VERY_LARGE) == 1 END
+BEGIN BOOST_PP_IS_TUPLE((4,8,ty,2)) == 1 END
 BEGIN BOOST_PP_IS_TUPLE(A green test) == 0 END
 BEGIN BOOST_PP_IS_TUPLE(TUPLE_VERY_LARGE A green test) == 0 END
+BEGIN BOOST_PP_IS_TUPLE((4,8,ty,2)yz) == 0 END
 
 #endif


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