Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r73306 - branches/pplib/v2/boost/preprocessor/facilities
From: eldiener_at_[hidden]
Date: 2011-07-22 17:40:13


Author: eldiener
Date: 2011-07-22 17:40:13 EDT (Fri, 22 Jul 2011)
New Revision: 73306
URL: http://svn.boost.org/trac/boost/changeset/73306

Log:
Updated IS_EMPTY for msvc
Text files modified:
   branches/pplib/v2/boost/preprocessor/facilities/is_empty.hpp | 15 ++++++++++-----
   1 files changed, 10 insertions(+), 5 deletions(-)

Modified: branches/pplib/v2/boost/preprocessor/facilities/is_empty.hpp
==============================================================================
--- branches/pplib/v2/boost/preprocessor/facilities/is_empty.hpp (original)
+++ branches/pplib/v2/boost/preprocessor/facilities/is_empty.hpp 2011-07-22 17:40:13 EDT (Fri, 22 Jul 2011)
@@ -45,6 +45,13 @@
 /**/
 #define BOOST_PP_IS_EMPTY_DETAIL_IIF_0(t, b) b
 #define BOOST_PP_IS_EMPTY_DETAIL_IIF_1(t, b) t
+#define BOOST_PP_IS_EMPTY_DETAIL_GEN_0(param) 0
+#define BOOST_PP_IS_EMPTY_DETAIL_NON_FUNCTION(param) \
+ BOOST_PP_IS_EMPTY_DETAIL_IS_TUPLE_BEGIN \
+ ( \
+ BOOST_PP_IS_EMPTY_DETAIL_IS_EMPTY_NON_FUNCTION_C param () \
+ ) \
+/**/
 #define BOOST_PP_IS_EMPTY(param) \
     BOOST_PP_IS_EMPTY_DETAIL_IIF \
       ( \
@@ -54,12 +61,10 @@
         ) \
       ) \
       ( \
- 0, \
- BOOST_PP_IS_EMPTY_DETAIL_IS_TUPLE_BEGIN \
- ( \
- BOOST_PP_IS_EMPTY_DETAIL_IS_EMPTY_NON_FUNCTION_C param () \
- ) \
+ BOOST_PP_IS_EMPTY_DETAIL_GEN_0, \
+ BOOST_PP_IS_EMPTY_DETAIL_NON_FUNCTION \
       ) \
+ (param) \
 /**/
 # else
 #define BOOST_PP_IS_EMPTY_DETAIL_CAT(a, ...) BOOST_PP_IS_EMPTY_DETAIL_PRIMITIVE_CAT(a,__VA_ARGS__)


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