• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 # /* **************************************************************************
2 #  *                                                                          *
3 #  *     (C) Copyright Edward Diener 2014.
4 #  *     Distributed under the Boost Software License, Version 1.0. (See
5 #  *     accompanying file LICENSE_1_0.txt or copy at
6 #  *     http://www.boost.org/LICENSE_1_0.txt)
7 #  *                                                                          *
8 #  ************************************************************************** */
9 #
10 # /* See http://www.boost.org for most recent version. */
11 #
12 # include <boost/preprocessor/facilities/is_empty.hpp>
13 # include <libs/preprocessor/test/test.h>
14 
15 #if BOOST_PP_VARIADICS && (BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_STRICT()) && !BOOST_PP_VARIADICS_MSVC
16 
17 #define FUNC_GEN8(x,y) (1,2,3)
18 
19 #if defined(__cplusplus) && __cplusplus > 201703L
20 
21 # include <boost/preprocessor/variadic/has_opt.hpp>
22 
23 BEGIN BOOST_PP_IS_EMPTY(FUNC_GEN8) == BOOST_PP_VARIADIC_HAS_OPT() END
24 
25 #else
26 
27 BEGIN BOOST_PP_IS_EMPTY(FUNC_GEN8) == 0 END
28 
29 #endif
30 
31 #else
32 
33 BEGIN 1 == 0 END
34 
35 #endif
36