diff options
Diffstat (limited to 'third_party/msgpack/include/msgpack/preprocessor/variadic/detail/is_single_return.hpp')
-rw-r--r-- | third_party/msgpack/include/msgpack/preprocessor/variadic/detail/is_single_return.hpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/third_party/msgpack/include/msgpack/preprocessor/variadic/detail/is_single_return.hpp b/third_party/msgpack/include/msgpack/preprocessor/variadic/detail/is_single_return.hpp new file mode 100644 index 0000000000..dad00253d7 --- /dev/null +++ b/third_party/msgpack/include/msgpack/preprocessor/variadic/detail/is_single_return.hpp @@ -0,0 +1,28 @@ +# /* ************************************************************************** +# * * +# * (C) Copyright Edward Diener 2014. * +# * Distributed under the Boost Software License, Version 1.0. (See * +# * accompanying file LICENSE_1_0.txt or copy at * +# * http://www.boost.org/LICENSE_1_0.txt) * +# * * +# ************************************************************************** */ +# +# /* See http://www.boost.org for most recent version. */ +# +# ifndef MSGPACK_PREPROCESSOR_VARIADIC_DETAIL_IS_SINGLE_RETURN_HPP +# define MSGPACK_PREPROCESSOR_VARIADIC_DETAIL_IS_SINGLE_RETURN_HPP +# +# include <msgpack/preprocessor/config/config.hpp> +# +# /* MSGPACK_PP_VARIADIC_IS_SINGLE_RETURN */ +# +# if MSGPACK_PP_VARIADICS && MSGPACK_PP_VARIADICS_MSVC +# include <msgpack/preprocessor/control/iif.hpp> +# include <msgpack/preprocessor/facilities/is_1.hpp> +# include <msgpack/preprocessor/variadic/size.hpp> +# define MSGPACK_PP_VARIADIC_IS_SINGLE_RETURN(sr,nsr,...) \ + MSGPACK_PP_IIF(MSGPACK_PP_IS_1(MSGPACK_PP_VARIADIC_SIZE(__VA_ARGS__)),sr,nsr) \ + /**/ +# endif /* MSGPACK_PP_VARIADICS && MSGPACK_PP_VARIADICS_MSVC */ +# +# endif /* MSGPACK_PREPROCESSOR_VARIADIC_DETAIL_IS_SINGLE_RETURN_HPP */ |