Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/boost/preprocessor/tuple/size.hpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 # /* **************************************************************************
0002 #  *                                                                          *
0003 #  *     (C) Copyright Edward Diener 2011.                                    *
0004 #  *     (C) Copyright Paul Mensonides 2011.                                  *
0005 #  *     Distributed under the Boost Software License, Version 1.0. (See      *
0006 #  *     accompanying file LICENSE_1_0.txt or copy at                         *
0007 #  *     http://www.boost.org/LICENSE_1_0.txt)                                *
0008 #  *                                                                          *
0009 #  ************************************************************************** */
0010 0011 ">#
0012 # /* See http://www.boost.org for most recent version. */
0013 0014 ">#
0015 # ifndef BOOST_PREPROCESSOR_TUPLE_SIZE_HPP
0016 # define BOOST_PREPROCESSOR_TUPLE_SIZE_HPP
0017 0018 ">#
0019 # include <boost/preprocessor/cat.hpp>
0020 # include <boost/preprocessor/config/config.hpp>
0021 # include <boost/preprocessor/control/if.hpp>
0022 # include <boost/preprocessor/variadic/has_opt.hpp>
0023 # include <boost/preprocessor/variadic/size.hpp>
0024 0025 ">#
0026 # if BOOST_PP_VARIADIC_HAS_OPT()
0027 #     if BOOST_PP_VARIADICS_MSVC
0028 #         define BOOST_PP_TUPLE_SIZE(tuple) BOOST_PP_TUPLE_SIZE_CHECK(BOOST_PP_CAT(BOOST_PP_VARIADIC_SIZE tuple,))
0029 #     else
0030 #         define BOOST_PP_TUPLE_SIZE(tuple) BOOST_PP_TUPLE_SIZE_CHECK(BOOST_PP_VARIADIC_SIZE tuple)
0031 #     endif
0032 #     define BOOST_PP_TUPLE_SIZE_CHECK(size) BOOST_PP_IF(size,size,1)
0033 # elif BOOST_PP_VARIADICS_MSVC
0034 #     define BOOST_PP_TUPLE_SIZE(tuple) BOOST_PP_CAT(BOOST_PP_VARIADIC_SIZE tuple,)
0035 # else
0036 #     define BOOST_PP_TUPLE_SIZE(tuple) BOOST_PP_VARIADIC_SIZE tuple
0037 # endif
0038 0039 ">#
0040 # endif