58 lines
1.7 KiB
C++
58 lines
1.7 KiB
C++
|
|
#ifndef ACTIV_BOOST_MPL_MAP_HPP_INCLUDED
|
|
#define ACTIV_BOOST_MPL_MAP_HPP_INCLUDED
|
|
|
|
// Copyright Aleksey Gurtovoy 2000-2004
|
|
//
|
|
// 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/libs/mpl for documentation.
|
|
|
|
// $Id$
|
|
// $Date$
|
|
// $Revision$
|
|
|
|
#if !defined(ACTIV_BOOST_MPL_PREPROCESSING_MODE)
|
|
# include <ActivBoost/mpl/limits/map.hpp>
|
|
# include <ActivBoost/mpl/aux_/na.hpp>
|
|
# include <ActivBoost/mpl/aux_/config/preprocessor.hpp>
|
|
|
|
# include <ActivBoost/preprocessor/inc.hpp>
|
|
# include <ActivBoost/preprocessor/cat.hpp>
|
|
# include <ActivBoost/preprocessor/stringize.hpp>
|
|
|
|
#if !defined(ACTIV_BOOST_NEEDS_TOKEN_PASTING_OP_FOR_TOKENS_JUXTAPOSING)
|
|
# define AUX778076_MAP_HEADER \
|
|
ACTIV_BOOST_PP_CAT(map, ACTIV_BOOST_MPL_LIMIT_MAP_SIZE).hpp \
|
|
/**/
|
|
#else
|
|
# define AUX778076_MAP_HEADER \
|
|
ACTIV_BOOST_PP_CAT(map, ACTIV_BOOST_MPL_LIMIT_MAP_SIZE)##.hpp \
|
|
/**/
|
|
#endif
|
|
|
|
# include ACTIV_BOOST_PP_STRINGIZE(ActivBoost/mpl/map/AUX778076_MAP_HEADER)
|
|
# undef AUX778076_MAP_HEADER
|
|
#endif
|
|
|
|
#include <ActivBoost/mpl/aux_/config/use_preprocessed.hpp>
|
|
|
|
#if !defined(ACTIV_BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \
|
|
&& !defined(ACTIV_BOOST_MPL_PREPROCESSING_MODE)
|
|
|
|
# define ACTIV_BOOST_MPL_PREPROCESSED_HEADER map.hpp
|
|
# include <ActivBoost/mpl/aux_/include_preprocessed.hpp>
|
|
|
|
#else
|
|
|
|
# include <ActivBoost/mpl/limits/map.hpp>
|
|
|
|
# define AUX778076_SEQUENCE_NAME map
|
|
# define AUX778076_SEQUENCE_LIMIT ACTIV_BOOST_MPL_LIMIT_MAP_SIZE
|
|
# include <ActivBoost/mpl/aux_/sequence_wrapper.hpp>
|
|
|
|
#endif // ACTIV_BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
|
|
#endif // ACTIV_BOOST_MPL_MAP_HPP_INCLUDED
|