]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/fusion/include/boost/fusion/container/set/detail/cpp03/limits.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / fusion / include / boost / fusion / container / set / 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_SET_LIMITS_09162005_1103)
8 #define FUSION_SET_LIMITS_09162005_1103
9
10 #include <boost/fusion/support/config.hpp>
11 #include <boost/fusion/container/vector/detail/cpp03/limits.hpp>
12
13 #if !defined(FUSION_MAX_SET_SIZE)
14 # define FUSION_MAX_SET_SIZE FUSION_MAX_VECTOR_SIZE
15 #else
16 # if FUSION_MAX_SET_SIZE < 3
17 # undef FUSION_MAX_SET_SIZE
18 # if (FUSION_MAX_VECTOR_SIZE > 10)
19 # define FUSION_MAX_SET_SIZE 10
20 # else
21 # define FUSION_MAX_SET_SIZE FUSION_MAX_VECTOR_SIZE
22 # endif
23 # endif
24 #endif
25
26 #define FUSION_MAX_SET_SIZE_STR BOOST_PP_STRINGIZE(BOOST_FUSION_PP_ROUND_UP(FUSION_MAX_SET_SIZE))
27
28 #endif