]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/fusion/container/map/detail/cpp03/limits.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / fusion / container / map / detail / cpp03 / limits.hpp
1 /*=============================================================================
2 Copyright (c) 2001-2011 Joel de Guzman
3
4 Distributed under the Boost Software License, Version 1.0. (See accompanying
5 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 ==============================================================================*/
7 #if !defined(FUSION_MAP_LIMITS_07212005_1104)
8 #define FUSION_MAP_LIMITS_07212005_1104
9
10 #include <boost/fusion/support/config.hpp>
11 #include <boost/fusion/container/vector/detail/cpp03/limits.hpp>
12
13 #if !defined(FUSION_MAX_MAP_SIZE)
14 # define FUSION_MAX_MAP_SIZE FUSION_MAX_VECTOR_SIZE
15 #else
16 # if FUSION_MAX_MAP_SIZE < 3
17 # undef FUSION_MAX_MAP_SIZE
18 # if (FUSION_MAX_VECTOR_SIZE > 10)
19 # define FUSION_MAX_MAP_SIZE 10
20 # else
21 # define FUSION_MAX_MAP_SIZE FUSION_MAX_VECTOR_SIZE
22 # endif
23 # endif
24 #endif
25
26 #define FUSION_MAX_MAP_SIZE_STR BOOST_PP_STRINGIZE(BOOST_FUSION_PP_ROUND_UP(FUSION_MAX_MAP_SIZE))
27
28 #endif