Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / preprocessor / test / isempty_variadic_standard_failure.cxx
index feee25f..5c7b03d 100644 (file)
 #if BOOST_PP_VARIADICS && (BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_STRICT()) && !BOOST_PP_VARIADICS_MSVC
 
 #define FUNC_GEN8(x,y) (1,2,3)
+
+#if defined(__cplusplus) && __cplusplus > 201703L
   
+# include <boost/preprocessor/variadic/has_opt.hpp>
+
+BEGIN BOOST_PP_IS_EMPTY(FUNC_GEN8) == BOOST_PP_VARIADIC_HAS_OPT() END
+
+#else
+
 BEGIN BOOST_PP_IS_EMPTY(FUNC_GEN8) == 0 END
 
+#endif
+
 #else
   
 BEGIN 1 == 0 END