Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-02-23 09:35:12

0001 /*=============================================================================
0002     Copyright (c) 2005-2012 Joel de Guzman
0003     Copyright (c) 2005-2006 Dan Marsden
0004 
0005     Distributed under the Boost Software License, Version 1.0. (See accompanying
0006     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0007 ==============================================================================*/
0008 #if !defined(BOOST_FUSION_DEQUE_LIMITS_26112006_1737)
0009 #define BOOST_FUSION_DEQUE_LIMITS_26112006_1737
0010 
0011 #if defined(BOOST_FUSION_HAS_VARIADIC_DEQUE)
0012 #error "C++03 only! This file should not have been included"
0013 #endif
0014 
0015 #include <boost/fusion/container/vector/detail/cpp03/limits.hpp>
0016 
0017 #if !defined(FUSION_MAX_DEQUE_SIZE)
0018 # define FUSION_MAX_DEQUE_SIZE FUSION_MAX_VECTOR_SIZE
0019 #else
0020 # if FUSION_MAX_DEQUE_SIZE < 3
0021 #   undef FUSION_MAX_DEQUE_SIZE
0022 #   if (FUSION_MAX_VECTOR_SIZE > 10)
0023 #       define FUSION_MAX_DEQUE_SIZE 10
0024 #   else
0025 #       define FUSION_MAX_DEQUE_SIZE FUSION_MAX_VECTOR_SIZE
0026 #   endif
0027 # endif
0028 #endif
0029 
0030 #define FUSION_MAX_DEQUE_SIZE_STR BOOST_PP_STRINGIZE(BOOST_FUSION_PP_ROUND_UP(FUSION_MAX_DEQUE_SIZE))
0031 
0032 #endif