]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | /*============================================================================= |
2 | Copyright (c) 2001-2011 Joel de Guzman | |
3 | ||
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_VECTOR_LIMITS_07072005_1246) | |
8 | #define FUSION_VECTOR_LIMITS_07072005_1246 | |
9 | ||
10 | #include <boost/fusion/support/config.hpp> | |
11 | #include <boost/fusion/support/detail/pp_round.hpp> | |
12 | #include <boost/preprocessor/stringize.hpp> | |
13 | ||
14 | #if !defined(FUSION_MAX_VECTOR_SIZE) | |
15 | # define FUSION_MAX_VECTOR_SIZE 10 | |
16 | #else | |
17 | # if FUSION_MAX_VECTOR_SIZE < 3 | |
18 | # undef FUSION_MAX_VECTOR_SIZE | |
19 | # define FUSION_MAX_VECTOR_SIZE 10 | |
20 | # endif | |
21 | #endif | |
22 | ||
23 | #define FUSION_MAX_VECTOR_SIZE_STR BOOST_PP_STRINGIZE(BOOST_FUSION_PP_ROUND_UP(FUSION_MAX_VECTOR_SIZE)) | |
24 | ||
25 | #endif |