comparison DEPENDENCIES/generic/include/boost/multi_index/indexed_by.hpp @ 101:c530137014c0

Update Boost headers (1.58.0)
author Chris Cannam
date Mon, 07 Sep 2015 11:12:49 +0100
parents 2665513ce2d3
children
comparison
equal deleted inserted replaced
100:793467b5e61c 101:c530137014c0
1 /* Copyright 2003-2008 Joaquin M Lopez Munoz. 1 /* Copyright 2003-2013 Joaquin M Lopez Munoz.
2 * Distributed under the Boost Software License, Version 1.0. 2 * Distributed under the Boost Software License, Version 1.0.
3 * (See accompanying file LICENSE_1_0.txt or copy at 3 * (See accompanying file LICENSE_1_0.txt or copy at
4 * http://www.boost.org/LICENSE_1_0.txt) 4 * http://www.boost.org/LICENSE_1_0.txt)
5 * 5 *
6 * See http://www.boost.org/libs/multi_index for library home page. 6 * See http://www.boost.org/libs/multi_index for library home page.
7 */ 7 */
8 8
9 #ifndef BOOST_MULTI_INDEX_INDEXED_BY_HPP 9 #ifndef BOOST_MULTI_INDEX_INDEXED_BY_HPP
10 #define BOOST_MULTI_INDEX_INDEXED_BY_HPP 10 #define BOOST_MULTI_INDEX_INDEXED_BY_HPP
11 11
12 #if defined(_MSC_VER)&&(_MSC_VER>=1200) 12 #if defined(_MSC_VER)
13 #pragma once 13 #pragma once
14 #endif 14 #endif
15 15
16 #include <boost/config.hpp> /* keep it first to prevent nasty warns in MSVC */ 16 #include <boost/config.hpp> /* keep it first to prevent nasty warns in MSVC */
17 #include <boost/mpl/vector.hpp> 17 #include <boost/mpl/vector.hpp>
29 * useful for shortening resulting symbol names (MSVC++ 6.0, for instance, 29 * useful for shortening resulting symbol names (MSVC++ 6.0, for instance,
30 * has problems coping with very long symbol names.) 30 * has problems coping with very long symbol names.)
31 */ 31 */
32 32
33 #if !defined(BOOST_MULTI_INDEX_LIMIT_INDEXED_BY_SIZE) 33 #if !defined(BOOST_MULTI_INDEX_LIMIT_INDEXED_BY_SIZE)
34 #if defined(BOOST_MSVC)&&(BOOST_MSVC<1300)
35 #define BOOST_MULTI_INDEX_LIMIT_INDEXED_BY_SIZE 5
36 #else
37 #define BOOST_MULTI_INDEX_LIMIT_INDEXED_BY_SIZE BOOST_MPL_LIMIT_VECTOR_SIZE 34 #define BOOST_MULTI_INDEX_LIMIT_INDEXED_BY_SIZE BOOST_MPL_LIMIT_VECTOR_SIZE
38 #endif
39 #endif 35 #endif
40 36
41 #if BOOST_MULTI_INDEX_LIMIT_INDEXED_BY_SIZE<BOOST_MPL_LIMIT_VECTOR_SIZE 37 #if BOOST_MULTI_INDEX_LIMIT_INDEXED_BY_SIZE<BOOST_MPL_LIMIT_VECTOR_SIZE
42 #define BOOST_MULTI_INDEX_INDEXED_BY_SIZE \ 38 #define BOOST_MULTI_INDEX_INDEXED_BY_SIZE \
43 BOOST_MULTI_INDEX_LIMIT_INDEXED_BY_SIZE 39 BOOST_MULTI_INDEX_LIMIT_INDEXED_BY_SIZE