Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:33:52

0001 /*=============================================================================
0002     Copyright (c) 2001-2011 Joel de Guzman
0003 
0004     Distributed under the Boost Software License, Version 1.0. (See accompanying
0005     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0006 ==============================================================================*/
0007 #if !defined(FUSION_SET_LIMITS_09162005_1103)
0008 #define FUSION_SET_LIMITS_09162005_1103
0009 
0010 #include <boost/fusion/support/config.hpp>
0011 #include <boost/fusion/container/vector/detail/cpp03/limits.hpp>
0012 
0013 #if !defined(FUSION_MAX_SET_SIZE)
0014 # define FUSION_MAX_SET_SIZE FUSION_MAX_VECTOR_SIZE
0015 #else
0016 # if FUSION_MAX_SET_SIZE < 3
0017 #   undef FUSION_MAX_SET_SIZE
0018 #   if (FUSION_MAX_VECTOR_SIZE > 10)
0019 #       define FUSION_MAX_SET_SIZE 10
0020 #   else
0021 #       define FUSION_MAX_SET_SIZE FUSION_MAX_VECTOR_SIZE
0022 #   endif
0023 # endif
0024 #endif
0025 
0026 #define FUSION_MAX_SET_SIZE_STR BOOST_PP_STRINGIZE(BOOST_FUSION_PP_ROUND_UP(FUSION_MAX_SET_SIZE))
0027 
0028 #endif