Chris@16
|
1
|
Chris@16
|
2 #ifndef BOOST_MPL_VECTOR_C_HPP_INCLUDED
|
Chris@16
|
3 #define BOOST_MPL_VECTOR_C_HPP_INCLUDED
|
Chris@16
|
4
|
Chris@16
|
5 // Copyright Aleksey Gurtovoy 2000-2008
|
Chris@16
|
6 //
|
Chris@16
|
7 // Distributed under the Boost Software License, Version 1.0.
|
Chris@16
|
8 // (See accompanying file LICENSE_1_0.txt or copy at
|
Chris@16
|
9 // http://www.boost.org/LICENSE_1_0.txt)
|
Chris@16
|
10 //
|
Chris@16
|
11 // See http://www.boost.org/libs/mpl for documentation.
|
Chris@16
|
12
|
Chris@101
|
13 // $Id$
|
Chris@101
|
14 // $Date$
|
Chris@101
|
15 // $Revision$
|
Chris@16
|
16
|
Chris@16
|
17 #if !defined(BOOST_MPL_PREPROCESSING_MODE)
|
Chris@16
|
18 # include <boost/mpl/limits/vector.hpp>
|
Chris@16
|
19 # include <boost/mpl/aux_/nttp_decl.hpp>
|
Chris@16
|
20 # include <boost/mpl/aux_/config/preprocessor.hpp>
|
Chris@16
|
21
|
Chris@16
|
22 # include <boost/preprocessor/inc.hpp>
|
Chris@16
|
23 # include <boost/preprocessor/cat.hpp>
|
Chris@16
|
24 # include <boost/preprocessor/stringize.hpp>
|
Chris@16
|
25
|
Chris@16
|
26 #if !defined(BOOST_NEEDS_TOKEN_PASTING_OP_FOR_TOKENS_JUXTAPOSING)
|
Chris@16
|
27 # define AUX778076_VECTOR_C_HEADER \
|
Chris@16
|
28 BOOST_PP_CAT(BOOST_PP_CAT(vector,BOOST_MPL_LIMIT_VECTOR_SIZE),_c).hpp \
|
Chris@16
|
29 /**/
|
Chris@16
|
30 #else
|
Chris@16
|
31 # define AUX778076_VECTOR_C_HEADER \
|
Chris@16
|
32 BOOST_PP_CAT(BOOST_PP_CAT(vector,BOOST_MPL_LIMIT_VECTOR_SIZE),_c)##.hpp \
|
Chris@16
|
33 /**/
|
Chris@16
|
34 #endif
|
Chris@16
|
35
|
Chris@16
|
36 # include BOOST_PP_STRINGIZE(boost/mpl/vector/AUX778076_VECTOR_C_HEADER)
|
Chris@16
|
37 # undef AUX778076_VECTOR_C_HEADER
|
Chris@16
|
38 # include <climits>
|
Chris@16
|
39 #endif
|
Chris@16
|
40
|
Chris@16
|
41 #include <boost/mpl/aux_/config/use_preprocessed.hpp>
|
Chris@16
|
42
|
Chris@16
|
43 #if !defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \
|
Chris@16
|
44 && !defined(BOOST_MPL_PREPROCESSING_MODE)
|
Chris@16
|
45
|
Chris@16
|
46 # define BOOST_MPL_PREPROCESSED_HEADER vector_c.hpp
|
Chris@16
|
47 # include <boost/mpl/aux_/include_preprocessed.hpp>
|
Chris@16
|
48
|
Chris@16
|
49 #else
|
Chris@16
|
50
|
Chris@16
|
51 # include <boost/mpl/limits/vector.hpp>
|
Chris@16
|
52
|
Chris@16
|
53 # define AUX778076_SEQUENCE_NAME vector_c
|
Chris@16
|
54 # define AUX778076_SEQUENCE_LIMIT BOOST_MPL_LIMIT_VECTOR_SIZE
|
Chris@16
|
55 # define AUX778076_SEQUENCE_NAME_N(n) BOOST_PP_CAT(BOOST_PP_CAT(vector,n),_c)
|
Chris@16
|
56 # define AUX778076_SEQUENCE_CONVERT_CN_TO(z,n,TARGET) TARGET(BOOST_PP_CAT(C,n))
|
Chris@16
|
57 # define AUX778076_SEQUENCE_INTEGRAL_WRAPPER
|
Chris@16
|
58 # include <boost/mpl/aux_/sequence_wrapper.hpp>
|
Chris@16
|
59
|
Chris@16
|
60 #endif // BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
|
Chris@16
|
61 #endif // BOOST_MPL_VECTOR_C_HPP_INCLUDED
|