Chris@16: /*============================================================================= Chris@16: Copyright (c) 2005-2012 Joel de Guzman Chris@16: Copyright (c) 2005-2006 Dan Marsden 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(BOOST_FUSION_DEQUE_LIMITS_26112006_1737) Chris@16: #define BOOST_FUSION_DEQUE_LIMITS_26112006_1737 Chris@16: Chris@16: #if defined(BOOST_FUSION_HAS_VARIADIC_DEQUE) Chris@16: #error "C++03 only! This file should not have been included" Chris@16: #endif Chris@16: Chris@16: #include Chris@16: Chris@16: #if !defined(FUSION_MAX_DEQUE_SIZE) Chris@16: # define FUSION_MAX_DEQUE_SIZE FUSION_MAX_VECTOR_SIZE Chris@16: #else Chris@16: # if FUSION_MAX_DEQUE_SIZE < 3 Chris@16: # undef FUSION_MAX_DEQUE_SIZE Chris@16: # if (FUSION_MAX_VECTOR_SIZE > 10) Chris@16: # define FUSION_MAX_DEQUE_SIZE 10 Chris@16: # else Chris@16: # define FUSION_MAX_DEQUE_SIZE FUSION_MAX_VECTOR_SIZE Chris@16: # endif Chris@16: # endif Chris@16: #endif Chris@16: Chris@16: #define FUSION_MAX_DEQUE_SIZE_STR BOOST_PP_STRINGIZE(BOOST_FUSION_PP_ROUND_UP(FUSION_MAX_DEQUE_SIZE)) Chris@16: Chris@16: #endif