~ubuntu-branches/debian/sid/boost1.49/sid

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Steve M. Robbins
  • Date: 2012-02-26 00:31:44 UTC
  • Revision ID: package-import@ubuntu.com-20120226003144-eaytp12cbf6ubpms
Tags: upstream-1.49.0
ImportĀ upstreamĀ versionĀ 1.49.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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/detail/pp_round.hpp>
 
11
 
 
12
#if !defined(FUSION_MAX_VECTOR_SIZE)
 
13
# define FUSION_MAX_VECTOR_SIZE 10
 
14
#else
 
15
# if FUSION_MAX_VECTOR_SIZE < 3
 
16
#   undef FUSION_MAX_VECTOR_SIZE
 
17
#   define FUSION_MAX_VECTOR_SIZE 10
 
18
# endif
 
19
#endif
 
20
 
 
21
#define FUSION_MAX_VECTOR_SIZE_STR BOOST_PP_STRINGIZE(BOOST_FUSION_PP_ROUND_UP(FUSION_MAX_VECTOR_SIZE))
 
22
 
 
23
#endif