Chris@16: /*============================================================================= Chris@16: Copyright (c) 2001-2011 Joel de Guzman Chris@16: Chris@16: Distributed under the Boost Software License, Version 1.0. (See accompanying Chris@16: file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) Chris@16: ==============================================================================*/ Chris@16: #if !defined(FUSION_SET_LIMITS_09162005_1103) Chris@16: #define FUSION_SET_LIMITS_09162005_1103 Chris@16: Chris@101: #include Chris@16: #include Chris@16: Chris@16: #if !defined(FUSION_MAX_SET_SIZE) Chris@16: # define FUSION_MAX_SET_SIZE FUSION_MAX_VECTOR_SIZE Chris@16: #else Chris@16: # if FUSION_MAX_SET_SIZE < 3 Chris@16: # undef FUSION_MAX_SET_SIZE Chris@16: # if (FUSION_MAX_VECTOR_SIZE > 10) Chris@16: # define FUSION_MAX_SET_SIZE 10 Chris@16: # else Chris@16: # define FUSION_MAX_SET_SIZE FUSION_MAX_VECTOR_SIZE Chris@16: # endif Chris@16: # endif Chris@16: #endif Chris@16: Chris@16: #define FUSION_MAX_SET_SIZE_STR BOOST_PP_STRINGIZE(BOOST_FUSION_PP_ROUND_UP(FUSION_MAX_SET_SIZE)) Chris@16: Chris@16: #endif