|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r71291 - branches/pplib/variadics/boost/preprocessor/tuple/detail
From: eldiener_at_[hidden]
Date: 2011-04-15 12:02:42
Author: eldiener
Date: 2011-04-15 12:02:42 EDT (Fri, 15 Apr 2011)
New Revision: 71291
URL: http://svn.boost.org/trac/boost/changeset/71291
Log:
Better organization in file.
Text files modified:
branches/pplib/variadics/boost/preprocessor/tuple/detail/use_overload.hpp | 64 +++++++++++++++++----------------------
1 files changed, 28 insertions(+), 36 deletions(-)
Modified: branches/pplib/variadics/boost/preprocessor/tuple/detail/use_overload.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/tuple/detail/use_overload.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/tuple/detail/use_overload.hpp 2011-04-15 12:02:42 EDT (Fri, 15 Apr 2011)
@@ -18,9 +18,17 @@
#
# include <boost/preprocessor/facilities/overload.hpp>
#
+# if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
+# include <boost/preprocessor/facilities/empty.hpp>
+# endif
+#
# /* BOOST_PP_TUPLE_DETAIL_ELEM_USE_OVERLOAD */
#
# if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
+# define BOOST_PP_TUPLE_DETAIL_ELEM_USE_OV_CAT(a, b) BOOST_PP_TUPLE_DETAIL_ELEM_USE_OV_CAT_I(a, b)
+# define BOOST_PP_TUPLE_DETAIL_ELEM_USE_OV_CAT_I(a, b) BOOST_PP_TUPLE_DETAIL_ELEM_USE_OV_CAT_II(a ## b)
+# define BOOST_PP_TUPLE_DETAIL_ELEM_USE_OV_CAT_II(res) res
+#
# define BOOST_PP_TUPLE_DETAIL_ELEM_USE_OVERLOAD(prefix,...) \
BOOST_PP_TUPLE_DETAIL_ELEM_USE_OV_CAT(BOOST_PP_OVERLOAD(prefix, __VA_ARGS__)(__VA_ARGS__),BOOST_PP_EMPTY()) \
/**/
@@ -33,15 +41,13 @@
#
# endif
#
-# if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
-# define BOOST_PP_TUPLE_DETAIL_ELEM_USE_OV_CAT(a, b) BOOST_PP_TUPLE_DETAIL_ELEM_USE_OV_CAT_I(a, b)
-# define BOOST_PP_TUPLE_DETAIL_ELEM_USE_OV_CAT_I(a, b) BOOST_PP_TUPLE_DETAIL_ELEM_USE_OV_CAT_II(a ## b)
-# define BOOST_PP_TUPLE_DETAIL_ELEM_USE_OV_CAT_II(res) res
-# endif
-#
# /* BOOST_PP_TUPLE_DETAIL_REM_USE_OVERLOAD */
#
# if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
+# define BOOST_PP_TUPLE_DETAIL_REM_USE_OV_CAT(a, b) BOOST_PP_TUPLE_DETAIL_REM_USE_OV_CAT_I(a, b)
+# define BOOST_PP_TUPLE_DETAIL_REM_USE_OV_CAT_I(a, b) BOOST_PP_TUPLE_DETAIL_REM_USE_OV_CAT_II(a ## b)
+# define BOOST_PP_TUPLE_DETAIL_REM_USE_OV_CAT_II(res) res
+#
# define BOOST_PP_TUPLE_DETAIL_REM_USE_OVERLOAD(prefix,...) \
BOOST_PP_TUPLE_DETAIL_REM_USE_OV_CAT(BOOST_PP_OVERLOAD(prefix, __VA_ARGS__)(__VA_ARGS__),BOOST_PP_EMPTY()) \
/**/
@@ -54,15 +60,13 @@
#
# endif
#
-# if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
-# define BOOST_PP_TUPLE_DETAIL_REM_USE_OV_CAT(a, b) BOOST_PP_TUPLE_DETAIL_REM_USE_OV_CAT_I(a, b)
-# define BOOST_PP_TUPLE_DETAIL_REM_USE_OV_CAT_I(a, b) BOOST_PP_TUPLE_DETAIL_REM_USE_OV_CAT_II(a ## b)
-# define BOOST_PP_TUPLE_DETAIL_REM_USE_OV_CAT_II(res) res
-# endif
-#
# /* BOOST_PP_TUPLE_DETAIL_REVERSE_USE_OVERLOAD */
#
# if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
+# define BOOST_PP_TUPLE_DETAIL_REVERSE_USE_OV_CAT(a, b) BOOST_PP_TUPLE_DETAIL_REVERSE_USE_OV_CAT_I(a, b)
+# define BOOST_PP_TUPLE_DETAIL_REVERSE_USE_OV_CAT_I(a, b) BOOST_PP_TUPLE_DETAIL_REVERSE_USE_OV_CAT_II(a ## b)
+# define BOOST_PP_TUPLE_DETAIL_REVERSE_USE_OV_CAT_II(res) res
+#
# define BOOST_PP_TUPLE_DETAIL_REVERSE_USE_OVERLOAD(prefix,...) \
BOOST_PP_TUPLE_DETAIL_REVERSE_USE_OV_CAT(BOOST_PP_OVERLOAD(prefix, __VA_ARGS__)(__VA_ARGS__),BOOST_PP_EMPTY()) \
/**/
@@ -75,15 +79,13 @@
#
# endif
#
-# if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
-# define BOOST_PP_TUPLE_DETAIL_REVERSE_USE_OV_CAT(a, b) BOOST_PP_TUPLE_DETAIL_REVERSE_USE_OV_CAT_I(a, b)
-# define BOOST_PP_TUPLE_DETAIL_REVERSE_USE_OV_CAT_I(a, b) BOOST_PP_TUPLE_DETAIL_REVERSE_USE_OV_CAT_II(a ## b)
-# define BOOST_PP_TUPLE_DETAIL_REVERSE_USE_OV_CAT_II(res) res
-# endif
-#
# /* BOOST_PP_TUPLE_DETAIL_TO_ARRAY_USE_OVERLOAD */
#
# if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
+# define BOOST_PP_TUPLE_DETAIL_TO_ARRAY_USE_OV_CAT(a, b) BOOST_PP_TUPLE_DETAIL_TO_ARRAY_USE_OV_CAT_I(a, b)
+# define BOOST_PP_TUPLE_DETAIL_TO_ARRAY_USE_OV_CAT_I(a, b) BOOST_PP_TUPLE_DETAIL_TO_ARRAY_USE_OV_CAT_II(a ## b)
+# define BOOST_PP_TUPLE_DETAIL_TO_ARRAY_USE_OV_CAT_II(res) res
+#
# define BOOST_PP_TUPLE_DETAIL_TO_ARRAY_USE_OVERLOAD(prefix,...) \
BOOST_PP_TUPLE_DETAIL_TO_ARRAY_USE_OV_CAT(BOOST_PP_OVERLOAD(prefix, __VA_ARGS__)(__VA_ARGS__),BOOST_PP_EMPTY()) \
/**/
@@ -96,15 +98,13 @@
#
# endif
#
-# if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
-# define BOOST_PP_TUPLE_DETAIL_TO_ARRAY_USE_OV_CAT(a, b) BOOST_PP_TUPLE_DETAIL_TO_ARRAY_USE_OV_CAT_I(a, b)
-# define BOOST_PP_TUPLE_DETAIL_TO_ARRAY_USE_OV_CAT_I(a, b) BOOST_PP_TUPLE_DETAIL_TO_ARRAY_USE_OV_CAT_II(a ## b)
-# define BOOST_PP_TUPLE_DETAIL_TO_ARRAY_USE_OV_CAT_II(res) res
-# endif
-#
# /* BOOST_PP_TUPLE_DETAIL_TO_LIST_USE_OVERLOAD */
#
# if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
+# define BOOST_PP_TUPLE_DETAIL_TO_LIST_USE_OV_CAT(a, b) BOOST_PP_TUPLE_DETAIL_TO_LIST_USE_OV_CAT_I(a, b)
+# define BOOST_PP_TUPLE_DETAIL_TO_LIST_USE_OV_CAT_I(a, b) BOOST_PP_TUPLE_DETAIL_TO_LIST_USE_OV_CAT_II(a ## b)
+# define BOOST_PP_TUPLE_DETAIL_TO_LIST_USE_OV_CAT_II(res) res
+#
# define BOOST_PP_TUPLE_DETAIL_TO_LIST_USE_OVERLOAD(prefix,...) \
BOOST_PP_TUPLE_DETAIL_TO_LIST_USE_OV_CAT(BOOST_PP_OVERLOAD(prefix, __VA_ARGS__)(__VA_ARGS__),BOOST_PP_EMPTY()) \
/**/
@@ -117,15 +117,13 @@
#
# endif
#
-# if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
-# define BOOST_PP_TUPLE_DETAIL_TO_LIST_USE_OV_CAT(a, b) BOOST_PP_TUPLE_DETAIL_TO_LIST_USE_OV_CAT_I(a, b)
-# define BOOST_PP_TUPLE_DETAIL_TO_LIST_USE_OV_CAT_I(a, b) BOOST_PP_TUPLE_DETAIL_TO_LIST_USE_OV_CAT_II(a ## b)
-# define BOOST_PP_TUPLE_DETAIL_TO_LIST_USE_OV_CAT_II(res) res
-# endif
-#
# /* BOOST_PP_TUPLE_DETAIL_TO_SEQ_USE_OVERLOAD */
#
# if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
+# define BOOST_PP_TUPLE_DETAIL_TO_SEQ_USE_OV_CAT(a, b) BOOST_PP_TUPLE_DETAIL_TO_SEQ_USE_OV_CAT_I(a, b)
+# define BOOST_PP_TUPLE_DETAIL_TO_SEQ_USE_OV_CAT_I(a, b) BOOST_PP_TUPLE_DETAIL_TO_SEQ_USE_OV_CAT_II(a ## b)
+# define BOOST_PP_TUPLE_DETAIL_TO_SEQ_USE_OV_CAT_II(res) res
+#
# define BOOST_PP_TUPLE_DETAIL_TO_SEQ_USE_OVERLOAD(prefix,...) \
BOOST_PP_TUPLE_DETAIL_TO_SEQ_USE_OV_CAT(BOOST_PP_OVERLOAD(prefix, __VA_ARGS__)(__VA_ARGS__),BOOST_PP_EMPTY()) \
/**/
@@ -138,11 +136,5 @@
#
# endif
#
-# if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
-# define BOOST_PP_TUPLE_DETAIL_TO_SEQ_USE_OV_CAT(a, b) BOOST_PP_TUPLE_DETAIL_TO_SEQ_USE_OV_CAT_I(a, b)
-# define BOOST_PP_TUPLE_DETAIL_TO_SEQ_USE_OV_CAT_I(a, b) BOOST_PP_TUPLE_DETAIL_TO_SEQ_USE_OV_CAT_II(a ## b)
-# define BOOST_PP_TUPLE_DETAIL_TO_SEQ_USE_OV_CAT_II(res) res
-# endif
-#
# endif /* BOOST_PP_VARIADICS */
# endif /* BOOST_PREPROCESSOR_TUPLE_USE_OVERLOAD_HPP */
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