fix doc example typo
[boost.git] / boost / fusion / container / map / limits.hpp
blob738abff4c692f2b353acc5f205bac9907d9c5ab0
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
14 #else
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
19 # else
20 # define FUSION_MAX_MAP_SIZE FUSION_MAX_VECTOR_SIZE
21 # endif
22 # endif
23 #endif
25 #endif