detail/is_begin_parens.hpp
Go to the documentation of this file.
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_DETAIL_IS_BEGIN_PARENS_HPP
13 #define BOOST_PREPROCESSOR_DETAIL_IS_BEGIN_PARENS_HPP
14 
15 #if BOOST_PP_VARIADICS_MSVC
16 
18 
19 #define BOOST_PP_DETAIL_VD_IBP_CAT(a, b) BOOST_PP_DETAIL_VD_IBP_CAT_I(a, b)
20 #define BOOST_PP_DETAIL_VD_IBP_CAT_I(a, b) BOOST_PP_DETAIL_VD_IBP_CAT_II(a ## b)
21 #define BOOST_PP_DETAIL_VD_IBP_CAT_II(res) res
22 
23 #define BOOST_PP_DETAIL_IBP_SPLIT(i, ...) \
24  BOOST_PP_DETAIL_VD_IBP_CAT(BOOST_PP_DETAIL_IBP_PRIMITIVE_CAT(BOOST_PP_DETAIL_IBP_SPLIT_,i)(__VA_ARGS__),BOOST_PP_EMPTY()) \
25 
26 
27 #define BOOST_PP_DETAIL_IBP_IS_VARIADIC_C(...) 1 1
28 
29 #else
30 
31 #define BOOST_PP_DETAIL_IBP_SPLIT(i, ...) \
32  BOOST_PP_DETAIL_IBP_PRIMITIVE_CAT(BOOST_PP_DETAIL_IBP_SPLIT_,i)(__VA_ARGS__) \
33 
34 
35 #define BOOST_PP_DETAIL_IBP_IS_VARIADIC_C(...) 1
36 
37 #endif /* BOOST_PP_VARIADICS_MSVC */
38 
39 #define BOOST_PP_DETAIL_IBP_SPLIT_0(a, ...) a
40 #define BOOST_PP_DETAIL_IBP_SPLIT_1(a, ...) __VA_ARGS__
41 
42 #define BOOST_PP_DETAIL_IBP_CAT(a, ...) BOOST_PP_DETAIL_IBP_PRIMITIVE_CAT(a,__VA_ARGS__)
43 #define BOOST_PP_DETAIL_IBP_PRIMITIVE_CAT(a, ...) a ## __VA_ARGS__
44 
45 #define BOOST_PP_DETAIL_IBP_IS_VARIADIC_R_1 1,
46 #define BOOST_PP_DETAIL_IBP_IS_VARIADIC_R_BOOST_PP_DETAIL_IBP_IS_VARIADIC_C 0,
47 
48 #endif /* BOOST_PREPROCESSOR_DETAIL_IS_BEGIN_PARENS_HPP */


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:47:17