Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r73752 - in sandbox/variadic_macro_data/boost/variadic_macro_data: . detail
From: eldiener_at_[hidden]
Date: 2011-08-14 14:20:34


Author: eldiener
Date: 2011-08-14 14:20:32 EDT (Sun, 14 Aug 2011)
New Revision: 73752
URL: http://svn.boost.org/trac/boost/changeset/73752

Log:
Updated is_empty for vc++
Removed:
   sandbox/variadic_macro_data/boost/variadic_macro_data/detail/vmd_detail_is_empty_native.hpp
   sandbox/variadic_macro_data/boost/variadic_macro_data/detail/vmd_detail_is_empty_pplib.hpp
Text files modified:
   sandbox/variadic_macro_data/boost/variadic_macro_data/detail/vmd_detail_is_empty.hpp | 6 ------
   sandbox/variadic_macro_data/boost/variadic_macro_data/detail/vmd_detail_is_empty_common.hpp | 1 -
   sandbox/variadic_macro_data/boost/variadic_macro_data/vmd_Is_empty_pplib.hpp | 13 +++----------
   sandbox/variadic_macro_data/boost/variadic_macro_data/vmd_is_empty_native.hpp | 13 +++----------
   4 files changed, 6 insertions(+), 27 deletions(-)

Modified: sandbox/variadic_macro_data/boost/variadic_macro_data/detail/vmd_detail_is_empty.hpp
==============================================================================
--- sandbox/variadic_macro_data/boost/variadic_macro_data/detail/vmd_detail_is_empty.hpp (original)
+++ sandbox/variadic_macro_data/boost/variadic_macro_data/detail/vmd_detail_is_empty.hpp 2011-08-14 14:20:32 EDT (Sun, 14 Aug 2011)
@@ -5,12 +5,6 @@
 
 #if BOOST_VMD_VARIADICS
 
-#if BOOST_VMD_PPLIB
-#include <boost/variadic_macro_data/detail/vmd_detail_is_empty_pplib.hpp>
-#else
-#include <boost/variadic_macro_data/detail/vmd_detail_is_empty_native.hpp>
-#endif /* BOOST_VMD_PPLIB */
-
 #include <boost/variadic_macro_data/detail/vmd_detail_is_empty_common.hpp>
 
 #endif /* BOOST_VMD_VARIADICS */

Modified: sandbox/variadic_macro_data/boost/variadic_macro_data/detail/vmd_detail_is_empty_common.hpp
==============================================================================
--- sandbox/variadic_macro_data/boost/variadic_macro_data/detail/vmd_detail_is_empty_common.hpp (original)
+++ sandbox/variadic_macro_data/boost/variadic_macro_data/detail/vmd_detail_is_empty_common.hpp 2011-08-14 14:20:32 EDT (Sun, 14 Aug 2011)
@@ -13,7 +13,6 @@
 #define VMD_DETAIL_IS_EMPTY_IIF_0(t, b) b
 #define VMD_DETAIL_IS_EMPTY_IIF_1(t, b) t
 #define VMD_DETAIL_IS_EMPTY_GEN_ZERO(x) 0
-#define VMD_DETAIL_IS_EMPTY_COMMON_EXPAND(...) 1,1
 
 #else
 

Deleted: sandbox/variadic_macro_data/boost/variadic_macro_data/detail/vmd_detail_is_empty_native.hpp
==============================================================================
--- sandbox/variadic_macro_data/boost/variadic_macro_data/detail/vmd_detail_is_empty_native.hpp 2011-08-14 14:20:32 EDT (Sun, 14 Aug 2011)
+++ (empty file)
@@ -1,22 +0,0 @@
-#if !defined(VMD_DETAIL_IS_EMPTY_NATIVE_HPP)
-#define VMD_DETAIL_IS_EMPTY_NATIVE_HPP
-
-#include <boost/variadic_macro_data/detail/vmd_detail_setup.hpp>
-
-#if BOOST_VMD_VARIADICS && BOOST_VMD_MSVC
-
-#include <boost/preprocessor/arithmetic/dec.hpp>
-#include <boost/variadic_macro_data/vmd_data.hpp>
-
-#define VMD_DETAIL_IS_EMPTY_VC_IS_TUPLE_BEGIN(param) \
- BOOST_PP_DEC \
- ( \
- BOOST_VMD_DATA_SIZE \
- ( \
- VMD_DETAIL_IS_EMPTY_COMMON_EXPAND param \
- ) \
- ) \
-/**/
-
-#endif /* BOOST_VMD_VARIADICS && BOOST_VMD_MSVC */
-#endif /* VMD_DETAIL_IS_EMPTY_NATIVE_HPP */

Deleted: sandbox/variadic_macro_data/boost/variadic_macro_data/detail/vmd_detail_is_empty_pplib.hpp
==============================================================================
--- sandbox/variadic_macro_data/boost/variadic_macro_data/detail/vmd_detail_is_empty_pplib.hpp 2011-08-14 14:20:32 EDT (Sun, 14 Aug 2011)
+++ (empty file)
@@ -1,22 +0,0 @@
-#if !defined(VMD_DETAIL_IS_EMPTY_PPLIB_HPP)
-#define VMD_DETAIL_IS_EMPTY_PPLIB_HPP
-
-#include <boost/variadic_macro_data/detail/vmd_detail_setup.hpp>
-
-#if BOOST_VMD_VARIADICS && BOOST_VMD_MSVC
-
-#include <boost/preprocessor/arithmetic/dec.hpp>
-#include <boost/preprocessor/variadic/size.hpp>
-
-#define VMD_DETAIL_IS_EMPTY_TUPLE_BEGIN(param) \
- BOOST_PP_DEC \
- ( \
- BOOST_PP_VARIADIC_SIZE \
- ( \
- VMD_DETAIL_IS_EMPTY_COMMON_EXPAND param \
- ) \
- ) \
-/**/
-
-#endif /* BOOST_VMD_VARIADICS && BOOST_VMD_MSVC */
-#endif /* VMD_DETAIL_IS_EMPTY_PPLIB_HPP */

Modified: sandbox/variadic_macro_data/boost/variadic_macro_data/vmd_Is_empty_pplib.hpp
==============================================================================
--- sandbox/variadic_macro_data/boost/variadic_macro_data/vmd_Is_empty_pplib.hpp (original)
+++ sandbox/variadic_macro_data/boost/variadic_macro_data/vmd_Is_empty_pplib.hpp 2011-08-14 14:20:32 EDT (Sun, 14 Aug 2011)
@@ -14,8 +14,7 @@
 
 #if BOOST_VMD_VARIADICS && BOOST_VMD_MSVC
 
-#include <boost/preprocessor/arithmetic/dec.hpp>
-#include <boost/preprocessor/variadic/size.hpp>
+#include <boost/variadic_macro_data/vmd_is_begin_parens.hpp>
 #include <boost/variadic_macro_data/detail/vmd_detail_is_empty.hpp>
 
 /** \brief Tests whether its input is empty or not.
@@ -49,17 +48,11 @@
 #define BOOST_VMD_IS_EMPTY(...) \
     VMD_DETAIL_IS_EMPTY_IIF \
       ( \
- BOOST_PP_DEC \
- ( \
- BOOST_PP_VARIADIC_SIZE \
- ( \
- VMD_DETAIL_IS_EMPTY_COMMON_EXPAND __VA_ARGS__ \
- ) \
- ) \
+ BOOST_VMD_IS_BEGIN_PARENS(__VA_ARGS__) \
       ) \
       ( \
       VMD_DETAIL_IS_EMPTY_GEN_ZERO, \
- VMD_DETAIL_IS_EMPTY_TUPLE_BEGIN \
+ BOOST_VMD_IS_BEGIN_PARENS \
       ) \
     (VMD_DETAIL_IS_EMPTY_NON_FUNCTION_C __VA_ARGS__ ()) \
 /**/

Modified: sandbox/variadic_macro_data/boost/variadic_macro_data/vmd_is_empty_native.hpp
==============================================================================
--- sandbox/variadic_macro_data/boost/variadic_macro_data/vmd_is_empty_native.hpp (original)
+++ sandbox/variadic_macro_data/boost/variadic_macro_data/vmd_is_empty_native.hpp 2011-08-14 14:20:32 EDT (Sun, 14 Aug 2011)
@@ -14,8 +14,7 @@
 
 #if BOOST_VMD_VARIADICS && BOOST_VMD_MSVC
 
-#include <boost/preprocessor/arithmetic/dec.hpp>
-#include <boost/variadic_macro_data/vmd_data.hpp>
+#include <boost/variadic_macro_data/vmd_is_begin_parens.hpp>
 #include <boost/variadic_macro_data/detail/vmd_detail_is_empty.hpp>
 
 /** \brief Tests whether its input is empty or not.
@@ -49,17 +48,11 @@
 #define BOOST_VMD_IS_EMPTY(...) \
     VMD_DETAIL_IS_EMPTY_IIF \
       ( \
- BOOST_PP_DEC \
- ( \
- BOOST_VMD_DATA_SIZE \
- ( \
- VMD_DETAIL_IS_EMPTY_COMMON_EXPAND __VA_ARGS__ \
- ) \
- ) \
+ BOOST_VMD_IS_BEGIN_PARENS(__VA_ARGS__) \
       ) \
       ( \
       VMD_DETAIL_IS_EMPTY_GEN_ZERO, \
- VMD_DETAIL_IS_EMPTY_VC_IS_TUPLE_BEGIN \
+ BOOST_VMD_IS_BEGIN_PARENS \
       ) \
     (VMD_DETAIL_IS_EMPTY_NON_FUNCTION_C __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