PageRenderTime 23ms CodeModel.GetById 15ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 1ms

/src/contrib/boost/mpl/map.hpp

http://pythonocc.googlecode.com/
C++ Header | 57 lines | 31 code | 14 blank | 12 comment | 1 complexity | d9cab438eff9cbca92071a21d59cf502 MD5 | raw file
 1
 2#ifndef BOOST_MPL_MAP_HPP_INCLUDED
 3#define BOOST_MPL_MAP_HPP_INCLUDED
 4
 5// Copyright Aleksey Gurtovoy 2000-2004
 6//
 7// Distributed under the Boost Software License, Version 1.0. 
 8// (See accompanying file LICENSE_1_0.txt or copy at 
 9// http://www.boost.org/LICENSE_1_0.txt)
10//
11// See http://www.boost.org/libs/mpl for documentation.
12
13// $Id: map.hpp 49267 2008-10-11 06:19:02Z agurtovoy $
14// $Date: 2008-10-11 02:19:02 -0400 (Sat, 11 Oct 2008) $
15// $Revision: 49267 $
16
17#if !defined(BOOST_MPL_PREPROCESSING_MODE)
18#   include <boost/mpl/limits/map.hpp>
19#   include <boost/mpl/aux_/na.hpp>
20#   include <boost/mpl/aux_/config/preprocessor.hpp>
21
22#   include <boost/preprocessor/inc.hpp>
23#   include <boost/preprocessor/cat.hpp>
24#   include <boost/preprocessor/stringize.hpp>
25
26#if !defined(BOOST_NEEDS_TOKEN_PASTING_OP_FOR_TOKENS_JUXTAPOSING)
27#   define AUX778076_MAP_HEADER \
28    BOOST_PP_CAT(map, BOOST_MPL_LIMIT_MAP_SIZE).hpp \
29    /**/
30#else
31#   define AUX778076_MAP_HEADER \
32    BOOST_PP_CAT(map, BOOST_MPL_LIMIT_MAP_SIZE)##.hpp \
33    /**/
34#endif
35
36#   include BOOST_PP_STRINGIZE(boost/mpl/map/AUX778076_MAP_HEADER)
37#   undef AUX778076_MAP_HEADER
38#endif
39
40#include <boost/mpl/aux_/config/use_preprocessed.hpp>
41
42#if !defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \
43    && !defined(BOOST_MPL_PREPROCESSING_MODE)
44
45#   define BOOST_MPL_PREPROCESSED_HEADER map.hpp
46#   include <boost/mpl/aux_/include_preprocessed.hpp>
47
48#else
49
50#   include <boost/mpl/limits/map.hpp>
51
52#   define AUX778076_SEQUENCE_NAME map
53#   define AUX778076_SEQUENCE_LIMIT BOOST_MPL_LIMIT_MAP_SIZE
54#   include <boost/mpl/aux_/sequence_wrapper.hpp>
55
56#endif // BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
57#endif // BOOST_MPL_MAP_HPP_INCLUDED