Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/fusion/container/deque/detail/cpp03/limits.hpp @ 133:4acb5d8d80b6 tip
Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author | Chris Cannam |
---|---|
date | Tue, 30 Jul 2019 12:25:44 +0100 |
parents | 2665513ce2d3 |
children |
rev | line source |
---|---|
Chris@16 | 1 /*============================================================================= |
Chris@16 | 2 Copyright (c) 2005-2012 Joel de Guzman |
Chris@16 | 3 Copyright (c) 2005-2006 Dan Marsden |
Chris@16 | 4 |
Chris@16 | 5 Distributed under the Boost Software License, Version 1.0. (See accompanying |
Chris@16 | 6 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
Chris@16 | 7 ==============================================================================*/ |
Chris@16 | 8 #if !defined(BOOST_FUSION_DEQUE_LIMITS_26112006_1737) |
Chris@16 | 9 #define BOOST_FUSION_DEQUE_LIMITS_26112006_1737 |
Chris@16 | 10 |
Chris@16 | 11 #if defined(BOOST_FUSION_HAS_VARIADIC_DEQUE) |
Chris@16 | 12 #error "C++03 only! This file should not have been included" |
Chris@16 | 13 #endif |
Chris@16 | 14 |
Chris@16 | 15 #include <boost/fusion/container/vector/limits.hpp> |
Chris@16 | 16 |
Chris@16 | 17 #if !defined(FUSION_MAX_DEQUE_SIZE) |
Chris@16 | 18 # define FUSION_MAX_DEQUE_SIZE FUSION_MAX_VECTOR_SIZE |
Chris@16 | 19 #else |
Chris@16 | 20 # if FUSION_MAX_DEQUE_SIZE < 3 |
Chris@16 | 21 # undef FUSION_MAX_DEQUE_SIZE |
Chris@16 | 22 # if (FUSION_MAX_VECTOR_SIZE > 10) |
Chris@16 | 23 # define FUSION_MAX_DEQUE_SIZE 10 |
Chris@16 | 24 # else |
Chris@16 | 25 # define FUSION_MAX_DEQUE_SIZE FUSION_MAX_VECTOR_SIZE |
Chris@16 | 26 # endif |
Chris@16 | 27 # endif |
Chris@16 | 28 #endif |
Chris@16 | 29 |
Chris@16 | 30 #define FUSION_MAX_DEQUE_SIZE_STR BOOST_PP_STRINGIZE(BOOST_FUSION_PP_ROUND_UP(FUSION_MAX_DEQUE_SIZE)) |
Chris@16 | 31 |
Chris@16 | 32 #endif |