diff options
Diffstat (limited to 'src/third_party/boost-1.60.0/boost/preprocessor/tuple/detail/is_single_return.hpp')
-rw-r--r-- | src/third_party/boost-1.60.0/boost/preprocessor/tuple/detail/is_single_return.hpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/third_party/boost-1.60.0/boost/preprocessor/tuple/detail/is_single_return.hpp b/src/third_party/boost-1.60.0/boost/preprocessor/tuple/detail/is_single_return.hpp new file mode 100644 index 00000000000..02a4fb207c5 --- /dev/null +++ b/src/third_party/boost-1.60.0/boost/preprocessor/tuple/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 BOOST_PREPROCESSOR_TUPLE_DETAIL_IS_SINGLE_RETURN_HPP +# define BOOST_PREPROCESSOR_TUPLE_DETAIL_IS_SINGLE_RETURN_HPP +# +# include <boost/preprocessor/config/config.hpp> +# +# /* BOOST_PP_TUPLE_IS_SINGLE_RETURN */ +# +# if BOOST_PP_VARIADICS && BOOST_PP_VARIADICS_MSVC +# include <boost/preprocessor/control/iif.hpp> +# include <boost/preprocessor/facilities/is_1.hpp> +# include <boost/preprocessor/tuple/size.hpp> +# define BOOST_PP_TUPLE_IS_SINGLE_RETURN(sr,nsr,tuple) \ + BOOST_PP_IIF(BOOST_PP_IS_1(BOOST_PP_TUPLE_SIZE(tuple)),sr,nsr) \ + /**/ +# endif /* BOOST_PP_VARIADICS && BOOST_PP_VARIADICS_MSVC */ +# +# endif /* BOOST_PREPROCESSOR_TUPLE_DETAIL_IS_SINGLE_RETURN_HPP */ |