]>
Commit | Line | Data |
---|---|---|
7c673cae | 1 | |
92f5a8d4 | 2 | // (C) Copyright Edward Diener 2011-2015,2019 |
7c673cae FG |
3 | // Use, modification and distribution are subject to the Boost Software License, |
4 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | |
5 | // http://www.boost.org/LICENSE_1_0.txt). | |
6 | ||
7 | #include <boost/vmd/is_empty.hpp> | |
92f5a8d4 | 8 | #include <boost/preprocessor/variadic/has_opt.hpp> |
7c673cae FG |
9 | #include <boost/detail/lightweight_test.hpp> |
10 | ||
11 | int main() | |
12 | { | |
13 | ||
14 | #if BOOST_PP_VARIADICS | |
15 | ||
92f5a8d4 | 16 | #if !BOOST_VMD_MSVC && !BOOST_PP_VARIADIC_HAS_OPT() |
7c673cae FG |
17 | |
18 | #define FMACRO6(param1,param2) ( any_number_of_tuple_elements ) | |
19 | ||
20 | BOOST_TEST(!BOOST_VMD_IS_EMPTY(FMACRO6)); | |
21 | ||
22 | #else | |
23 | ||
24 | typedef char BOOST_VMD_GENERATE_ERROR[-1]; | |
25 | ||
26 | #endif | |
27 | ||
28 | #endif | |
29 | ||
30 | return boost::report_errors(); | |
31 | ||
32 | } |