Files
boost_preprocessor/include/boost/preprocessor/seq/to_tuple.hpp

28 lines
1.1 KiB
C++
Raw Normal View History

2002-10-13 06:11:19 +00:00
# /* **************************************************************************
# * *
# * (C) Copyright Paul Mensonides 2002.
# * 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)
2002-10-13 06:11:19 +00:00
# * *
# ************************************************************************** */
#
# /* See http://www.boost.org for most recent version. */
#
2002-11-07 23:16:43 +00:00
# ifndef BOOST_PREPROCESSOR_SEQ_TO_TUPLE_HPP
# define BOOST_PREPROCESSOR_SEQ_TO_TUPLE_HPP
2002-10-13 06:11:19 +00:00
#
# include <boost/preprocessor/config/config.hpp>
2002-11-07 23:16:43 +00:00
# include <boost/preprocessor/seq/enum.hpp>
2002-10-13 06:11:19 +00:00
#
2002-11-07 23:16:43 +00:00
# /* BOOST_PP_SEQ_TO_TUPLE */
2002-10-13 06:11:19 +00:00
#
# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
2002-11-07 23:16:43 +00:00
# define BOOST_PP_SEQ_TO_TUPLE(seq) (BOOST_PP_SEQ_ENUM(seq))
2002-10-13 06:11:19 +00:00
# else
2002-11-07 23:16:43 +00:00
# define BOOST_PP_SEQ_TO_TUPLE(seq) BOOST_PP_SEQ_TO_TUPLE_I(seq)
# define BOOST_PP_SEQ_TO_TUPLE_I(seq) (BOOST_PP_SEQ_ENUM(seq))
2002-10-13 06:11:19 +00:00
# endif
#
# endif