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 MSGPACK_PREPROCESSOR_VARIADIC_DETAIL_IS_SINGLE_RETURN_HPP
13 # define MSGPACK_PREPROCESSOR_VARIADIC_DETAIL_IS_SINGLE_RETURN_HPP
14 #
15 # include <rpc/msgpack/preprocessor/config/config.hpp>
16 #
17 # /* MSGPACK_PP_VARIADIC_IS_SINGLE_RETURN */
18 #
19 # if MSGPACK_PP_VARIADICS && MSGPACK_PP_VARIADICS_MSVC
20 # include <rpc/msgpack/preprocessor/control/iif.hpp>
21 # include <rpc/msgpack/preprocessor/facilities/is_1.hpp>
22 # include <rpc/msgpack/preprocessor/variadic/size.hpp>
23 # define MSGPACK_PP_VARIADIC_IS_SINGLE_RETURN(sr,nsr,...)	\
24 	MSGPACK_PP_IIF(MSGPACK_PP_IS_1(MSGPACK_PP_VARIADIC_SIZE(__VA_ARGS__)),sr,nsr) \
25 	/**/
26 # endif /* MSGPACK_PP_VARIADICS && MSGPACK_PP_VARIADICS_MSVC */
27 #
28 # endif /* MSGPACK_PREPROCESSOR_VARIADIC_DETAIL_IS_SINGLE_RETURN_HPP */
29