1 /*=============================================================================
2 Copyright (c) 2001-2006 Joel de Guzman
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
10 #include <boost/fusion/container/vector/limits.hpp>
12 #if !defined(FUSION_MAX_MAP_SIZE)
13 # define FUSION_MAX_MAP_SIZE FUSION_MAX_VECTOR_SIZE
15 # if FUSION_MAX_MAP_SIZE < 3
16 # undef FUSION_MAX_MAP_SIZE
17 # if (FUSION_MAX_VECTOR_SIZE > 10)
18 # define FUSION_MAX_MAP_SIZE 10
20 # define FUSION_MAX_MAP_SIZE FUSION_MAX_VECTOR_SIZE