~twpol/dcplusplus/trunk

« back to all changes in this revision

Viewing changes to boost/boost/fusion/container/set/limits.hpp

  • Committer: James Ross
  • Date: 2010-07-05 00:03:18 UTC
  • mfrom: (1524.1.650 dcplusplus)
  • Revision ID: silver@warwickcompsoc.co.uk-20100705000318-awwqm8ocpp5m47yz
Merged to trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*=============================================================================
2
 
    Copyright (c) 2001-2006 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_SET_LIMITS_09162005_1103)
8
 
#define FUSION_SET_LIMITS_09162005_1103
9
 
 
10
 
#include <boost/fusion/container/vector/limits.hpp>
11
 
 
12
 
#if !defined(FUSION_MAX_SET_SIZE)
13
 
# define FUSION_MAX_SET_SIZE FUSION_MAX_VECTOR_SIZE
14
 
#else
15
 
# if FUSION_MAX_SET_SIZE < 3
16
 
#   undef FUSION_MAX_SET_SIZE
17
 
#   if (FUSION_MAX_VECTOR_SIZE > 10)
18
 
#       define FUSION_MAX_SET_SIZE 10
19
 
#   else
20
 
#       define FUSION_MAX_SET_SIZE FUSION_MAX_VECTOR_SIZE
21
 
#   endif
22
 
# endif
23
 
#endif
24
 
 
25
 
#endif
 
1
/*=============================================================================
 
2
    Copyright (c) 2001-2006 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_SET_LIMITS_09162005_1103)
 
8
#define FUSION_SET_LIMITS_09162005_1103
 
9
 
 
10
#include <boost/fusion/container/vector/limits.hpp>
 
11
 
 
12
#if !defined(FUSION_MAX_SET_SIZE)
 
13
# define FUSION_MAX_SET_SIZE FUSION_MAX_VECTOR_SIZE
 
14
#else
 
15
# if FUSION_MAX_SET_SIZE < 3
 
16
#   undef FUSION_MAX_SET_SIZE
 
17
#   if (FUSION_MAX_VECTOR_SIZE > 10)
 
18
#       define FUSION_MAX_SET_SIZE 10
 
19
#   else
 
20
#       define FUSION_MAX_SET_SIZE FUSION_MAX_VECTOR_SIZE
 
21
#   endif
 
22
# endif
 
23
#endif
 
24
 
 
25
#endif