File indexing completed on 2025-01-18 09:33:39
0001
0002
0003
0004
0005
0006
0007 #if !defined(FUSION_MAP_LIMITS_07212005_1104)
0008 #define FUSION_MAP_LIMITS_07212005_1104
0009
0010 #include <boost/fusion/support/config.hpp>
0011 #include <boost/fusion/container/vector/detail/cpp03/limits.hpp>
0012
0013 #if !defined(FUSION_MAX_MAP_SIZE)
0014 # define FUSION_MAX_MAP_SIZE FUSION_MAX_VECTOR_SIZE
0015 #else
0016 # if FUSION_MAX_MAP_SIZE < 3
0017 # undef FUSION_MAX_MAP_SIZE
0018 # if (FUSION_MAX_VECTOR_SIZE > 10)
0019 # define FUSION_MAX_MAP_SIZE 10
0020 # else
0021 # define FUSION_MAX_MAP_SIZE FUSION_MAX_VECTOR_SIZE
0022 # endif
0023 # endif
0024 #endif
0025
0026 #define FUSION_MAX_MAP_SIZE_STR BOOST_PP_STRINGIZE(BOOST_FUSION_PP_ROUND_UP(FUSION_MAX_MAP_SIZE))
0027
0028 #endif