Files
boost_mpl/include/boost/mpl/vector.hpp
T

58 lines
1.6 KiB
C++
Raw Normal View History

2002-09-15 22:13:24 +00:00
#ifndef BOOST_MPL_VECTOR_HPP_INCLUDED
#define BOOST_MPL_VECTOR_HPP_INCLUDED
2004-09-02 15:41:37 +00:00
// Copyright Aleksey Gurtovoy 2000-2004
2004-01-19 20:45:33 +00:00
//
2004-09-02 15:41:37 +00:00
// 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)
2004-01-19 20:45:33 +00:00
//
// See http://www.boost.org/libs/mpl for documentation.
// $Source$
// $Date$
// $Revision$
2002-09-15 22:13:24 +00:00
#if !defined(BOOST_MPL_PREPROCESSING_MODE)
2004-09-02 15:41:37 +00:00
# include <boost/mpl/limits/vector.hpp>
# include <boost/mpl/aux_/na.hpp>
# include <boost/mpl/aux_/config/preprocessor.hpp>
2002-09-15 22:13:24 +00:00
2004-09-02 15:41:37 +00:00
# include <boost/preprocessor/inc.hpp>
# include <boost/preprocessor/cat.hpp>
# include <boost/preprocessor/stringize.hpp>
2002-09-15 22:13:24 +00:00
2004-01-19 20:45:33 +00:00
#if !defined(BOOST_NEEDS_TOKEN_PASTING_OP_FOR_TOKENS_JUXTAPOSING)
2004-09-02 15:41:37 +00:00
# define AUX778076_HEADER \
2002-09-28 09:31:58 +00:00
BOOST_PP_CAT(vector, BOOST_MPL_LIMIT_VECTOR_SIZE).hpp \
2002-09-15 22:13:24 +00:00
/**/
2004-01-19 20:45:33 +00:00
#else
2004-09-02 15:41:37 +00:00
# define AUX778076_HEADER \
2004-01-19 20:45:33 +00:00
BOOST_PP_CAT(vector, BOOST_MPL_LIMIT_VECTOR_SIZE)##.hpp \
/**/
#endif
2002-09-15 22:13:24 +00:00
2004-09-02 15:41:37 +00:00
# include BOOST_PP_STRINGIZE(boost/mpl/vector/AUX778076_HEADER)
# undef AUX778076_HEADER
2002-09-15 22:13:24 +00:00
#endif
2004-09-02 15:41:37 +00:00
#include <boost/mpl/aux_/config/use_preprocessed.hpp>
2002-09-15 22:13:24 +00:00
2004-09-02 15:41:37 +00:00
#if !defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \
&& !defined(BOOST_MPL_PREPROCESSING_MODE)
2002-09-15 22:13:24 +00:00
# define BOOST_MPL_PREPROCESSED_HEADER vector.hpp
2004-09-02 15:41:37 +00:00
# include <boost/mpl/aux_/include_preprocessed.hpp>
2002-09-15 22:13:24 +00:00
#else
2004-09-02 15:41:37 +00:00
# include <boost/mpl/limits/vector.hpp>
2002-09-15 22:13:24 +00:00
2004-09-02 15:41:37 +00:00
# define AUX778076_SEQUENCE_NAME vector
# define AUX778076_SEQUENCE_LIMIT BOOST_MPL_LIMIT_VECTOR_SIZE
# include <boost/mpl/aux_/sequence_wrapper.hpp>
2002-09-15 22:13:24 +00:00
2004-09-02 15:41:37 +00:00
#endif // BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
2002-09-15 22:13:24 +00:00
#endif // BOOST_MPL_VECTOR_HPP_INCLUDED