comparison DEPENDENCIES/generic/include/boost/mpl/vector_c.hpp @ 16:2665513ce2d3

Add boost headers
author Chris Cannam
date Tue, 05 Aug 2014 11:11:38 +0100
parents
children c530137014c0
comparison
equal deleted inserted replaced
15:663ca0da4350 16:2665513ce2d3
1
2 #ifndef BOOST_MPL_VECTOR_C_HPP_INCLUDED
3 #define BOOST_MPL_VECTOR_C_HPP_INCLUDED
4
5 // Copyright Aleksey Gurtovoy 2000-2008
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: vector_c.hpp 49271 2008-10-11 06:46:00Z agurtovoy $
14 // $Date: 2008-10-10 23:46:00 -0700 (Fri, 10 Oct 2008) $
15 // $Revision: 49271 $
16
17 #if !defined(BOOST_MPL_PREPROCESSING_MODE)
18 # include <boost/mpl/limits/vector.hpp>
19 # include <boost/mpl/aux_/nttp_decl.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_VECTOR_C_HEADER \
28 BOOST_PP_CAT(BOOST_PP_CAT(vector,BOOST_MPL_LIMIT_VECTOR_SIZE),_c).hpp \
29 /**/
30 #else
31 # define AUX778076_VECTOR_C_HEADER \
32 BOOST_PP_CAT(BOOST_PP_CAT(vector,BOOST_MPL_LIMIT_VECTOR_SIZE),_c)##.hpp \
33 /**/
34 #endif
35
36 # include BOOST_PP_STRINGIZE(boost/mpl/vector/AUX778076_VECTOR_C_HEADER)
37 # undef AUX778076_VECTOR_C_HEADER
38 # include <climits>
39 #endif
40
41 #include <boost/mpl/aux_/config/use_preprocessed.hpp>
42
43 #if !defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \
44 && !defined(BOOST_MPL_PREPROCESSING_MODE)
45
46 # define BOOST_MPL_PREPROCESSED_HEADER vector_c.hpp
47 # include <boost/mpl/aux_/include_preprocessed.hpp>
48
49 #else
50
51 # include <boost/mpl/limits/vector.hpp>
52
53 # define AUX778076_SEQUENCE_NAME vector_c
54 # define AUX778076_SEQUENCE_LIMIT BOOST_MPL_LIMIT_VECTOR_SIZE
55 # define AUX778076_SEQUENCE_NAME_N(n) BOOST_PP_CAT(BOOST_PP_CAT(vector,n),_c)
56 # define AUX778076_SEQUENCE_CONVERT_CN_TO(z,n,TARGET) TARGET(BOOST_PP_CAT(C,n))
57 # define AUX778076_SEQUENCE_INTEGRAL_WRAPPER
58 # include <boost/mpl/aux_/sequence_wrapper.hpp>
59
60 #endif // BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
61 #endif // BOOST_MPL_VECTOR_C_HPP_INCLUDED