]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/preprocessor/test/isempty.cxx
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / libs / preprocessor / test / isempty.cxx
index f83fe7bf3d3b2f80a3b8d3beea5ee798ebf55eb9..073d0ae8c49adf45a3d135c4f01e6a24f928a6a8 100644 (file)
@@ -36,8 +36,6 @@
 #define ATUPLE (atuple)
 #define ATUPLE_PLUS (atuple) data
 
-#if BOOST_PP_VARIADICS
-
 # include <boost/preprocessor/variadic/has_opt.hpp>
 
 #if defined(__cplusplus) && __cplusplus > 201703L && BOOST_PP_VARIADIC_HAS_OPT()
@@ -100,59 +98,4 @@ BEGIN BOOST_PP_IS_EMPTY(NAME) == 0 END
 BEGIN BOOST_PP_IS_EMPTY(ATUPLE) == 0 END
 BEGIN BOOST_PP_IS_EMPTY(ATUPLE_PLUS) == 0 END
 
-#else
-
-#if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC() /* Testing the VC++ non-variadic version */
-
-/* INCORRECT */
-
-BEGIN BOOST_PP_IS_EMPTY(FUNC_GEN) == 1 END
-BEGIN BOOST_PP_IS_EMPTY(FUNC_GEN2) == 1 END
-BEGIN BOOST_PP_IS_EMPTY(FUNC_GEN3) == 1 END
-BEGIN BOOST_PP_IS_EMPTY(FUNC_GEN4) == 1 END
-BEGIN BOOST_PP_IS_EMPTY(FUNC_GEN5) == 1 END
-BEGIN BOOST_PP_IS_EMPTY(FUNC_GEN8) == 1 END
-BEGIN BOOST_PP_IS_EMPTY(ATUPLE) == 1 END
-BEGIN BOOST_PP_IS_EMPTY(FUNC_GEN10) == 1 END
-BEGIN BOOST_PP_IS_EMPTY(ATUPLE_PLUS) == 1 END
-
-/* CORRECT */
-
-BEGIN BOOST_PP_IS_EMPTY(NAME) == 0 END
-
-#else /* Testing the non-VC++ non-variadic version */
-
-/* CORRECT */
-
-BEGIN BOOST_PP_IS_EMPTY(FUNC_GEN) == 0 END
-BEGIN BOOST_PP_IS_EMPTY(FUNC_GEN2) == 0 END
-BEGIN BOOST_PP_IS_EMPTY(FUNC_GEN3) == 0 END
-BEGIN BOOST_PP_IS_EMPTY(FUNC_GEN4) == 0 END
-BEGIN BOOST_PP_IS_EMPTY(FUNC_GEN5) == 0 END
-BEGIN BOOST_PP_IS_EMPTY(FUNC_GEN8) == 0 END
-BEGIN BOOST_PP_IS_EMPTY(FUNC_GEN10) == 0 END
-
-/* UNDEFINED BEHAVIOR */
-
-// BEGIN BOOST_PP_IS_EMPTY(ATUPLE) == 0 END
-// BEGIN BOOST_PP_IS_EMPTY(ATUPLE_PLUS) == 1 END
-// BEGIN BOOST_PP_IS_EMPTY(NAME) == 0 END
-
-#endif
-
-/* Testing the non-variadic version */
-
-/* CORRECT */
-
-BEGIN BOOST_PP_IS_EMPTY(BOOST_PP_EMPTY()) == 1 END
-BEGIN BOOST_PP_IS_EMPTY(DATA BOOST_PP_EMPTY()) == 1 END
-BEGIN BOOST_PP_IS_EMPTY(x BOOST_PP_EMPTY()) == 0 END
-BEGIN BOOST_PP_IS_EMPTY(OBJECT BOOST_PP_EMPTY()) == 1 END
-BEGIN BOOST_PP_IS_EMPTY(FUNC(z) BOOST_PP_EMPTY()) == 1 END
-BEGIN BOOST_PP_IS_EMPTY(FUNC_GEN6) == 0 END
-BEGIN BOOST_PP_IS_EMPTY(FUNC_GEN7) == 0 END
-BEGIN BOOST_PP_IS_EMPTY(FUNC_GEN9) == 0 END
-
-#endif
-
 #endif