diff --git a/doc/headers.html b/doc/headers.html index b26fb96..7728e18 100644 --- a/doc/headers.html +++ b/doc/headers.html @@ -231,7 +231,7 @@
#include <boost/preprocessor/facilities/check_empty.hpp> -# if BOOST_PP_VARIADIC_HAS_OPT() +# if BOOST_PP_VARIADIC_HAS_OPT() #define DATA #define OBJECT OBJECT2 diff --git a/doc/ref/variadic_opt.html b/doc/ref/variadic_has_opt.html similarity index 79% rename from doc/ref/variadic_opt.html rename to doc/ref/variadic_has_opt.html index c2ce540..2017474 100644 --- a/doc/ref/variadic_opt.html +++ b/doc/ref/variadic_has_opt.html @@ -30,13 +30,13 @@ Expands to 1 if the __VA_OPT__ construct is supported, otherwise expands to 0. 0 for all lesser C++ standard levels.
-#include <boost/preprocessor/variadic/opt.hpp>
-#if BOOST_PP_VARIADIC_HAS_OPT() +#include <boost/preprocessor/variadic/has_opt.hpp>
+#if BOOST_PP_VARIADIC_HAS_OPT() // Preprocessor code which uses __VA_OPT__ #else // Preprocessor code which does not use __VA_OPT__ @@ -46,8 +46,8 @@ Expands to 1 if the __VA_OPT__ construct is supported, otherwise expands to 0. or within a macro definition
#include <boost/preprocessor/control/iif.hpp> -#include <boost/preprocessor/variadic/opt.hpp>diff --git a/doc/topics/emptiness.html b/doc/topics/emptiness.html index d1494e3..04008dc 100644 --- a/doc/topics/emptiness.html +++ b/doc/topics/emptiness.html @@ -135,7 +135,7 @@
-#define USE_OPT(...) BOOST_PP_IIF(BOOST_PP_VARIADIC_HAS_OPT(),MACRO_USING_OPT,MACRO_NOT_USING_OPT)(__VA_ARGS__) +#include <boost/preprocessor/variadic/has_opt.hpp>
+#define USE_OPT(...) BOOST_PP_IIF(BOOST_PP_VARIADIC_HAS_OPT(),MACRO_USING_OPT,MACRO_NOT_USING_OPT)(__VA_ARGS__) #define MACRO_USING_OPT(...) __VA_OPT__( preprocessor tokens ) anything #define MACRO_NOT_USING_OPT(...) anything