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# ifndef BOOST_PREPROCESSOR_IS_BEGIN_PARENS_HPP
13# define BOOST_PREPROCESSOR_IS_BEGIN_PARENS_HPP
14
15#include <boost/preprocessor/config/config.hpp>
16#include <boost/preprocessor/punctuation/detail/is_begin_parens.hpp>
17
18#if BOOST_PP_VARIADICS_MSVC && _MSC_VER <= 1400
19
20#define BOOST_PP_IS_BEGIN_PARENS(param) \
21 BOOST_PP_DETAIL_IBP_SPLIT \
22 ( \
23 0, \
24 BOOST_PP_DETAIL_IBP_CAT \
25 ( \
26 BOOST_PP_DETAIL_IBP_IS_VARIADIC_R_, \
27 BOOST_PP_DETAIL_IBP_IS_VARIADIC_C param \
28 ) \
29 ) \
30/**/
31
32#else
33
34#define BOOST_PP_IS_BEGIN_PARENS(...) \
35 BOOST_PP_DETAIL_IBP_SPLIT \
36 ( \
37 0, \
38 BOOST_PP_DETAIL_IBP_CAT \
39 ( \
40 BOOST_PP_DETAIL_IBP_IS_VARIADIC_R_, \
41 BOOST_PP_DETAIL_IBP_IS_VARIADIC_C __VA_ARGS__ \
42 ) \
43 ) \
44/**/
45
46#endif /* BOOST_PP_VARIADICS_MSVC && _MSC_VER <= 1400 */
47#endif /* BOOST_PREPROCESSOR_IS_BEGIN_PARENS_HPP */
48