]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/fusion/include/boost/fusion/container/deque/detail/cpp03/deque_initial_size.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / fusion / include / boost / fusion / container / deque / detail / cpp03 / deque_initial_size.hpp
CommitLineData
7c673cae
FG
1/*=============================================================================
2 Copyright (c) 2005-2012 Joel de Guzman
3 Copyright (c) 2005-2006 Dan Marsden
4
5 Distributed under the Boost Software License, Version 1.0. (See accompanying
6 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7==============================================================================*/
8#if !defined(BOOST_FUSION_DEQUE_DETAIL_DEQUE_INITIAL_SIZE_26112006_2139)
9#define BOOST_FUSION_DEQUE_DETAIL_DEQUE_INITIAL_SIZE_26112006_2139
10
11#if defined(BOOST_FUSION_HAS_VARIADIC_DEQUE)
12#error "C++03 only! This file should not have been included"
13#endif
14
15#include <boost/preprocessor/repetition/enum_params.hpp>
16#include <boost/mpl/find.hpp>
17#include <boost/mpl/begin.hpp>
18#include <boost/mpl/distance.hpp>
19#include <boost/mpl/equal_to.hpp>
20#include <boost/mpl/vector.hpp>
21
22namespace boost { namespace fusion
23{
24 struct void_;
25}}
26
27#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
28#include <boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size.hpp>
29#else
30#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
31#pragma wave option(preserve: 2, line: 0, output: "preprocessed/deque_initial_size" FUSION_MAX_DEQUE_SIZE_STR ".hpp")
32#endif
33
34/*=============================================================================
35 Copyright (c) 2001-2011 Joel de Guzman
36
37 Distributed under the Boost Software License, Version 1.0. (See accompanying
38 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
39
40 This is an auto-generated file. Do not edit!
41==============================================================================*/
42
43#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
44#pragma wave option(preserve: 1)
45#endif
46
47namespace boost { namespace fusion { namespace detail
48{
49 template<BOOST_PP_ENUM_PARAMS(FUSION_MAX_DEQUE_SIZE, typename T)>
50 struct deque_initial_size
51 {
52 typedef mpl::vector<BOOST_PP_ENUM_PARAMS(FUSION_MAX_DEQUE_SIZE, T)> args;
53 typedef typename mpl::find<args, void_>::type first_void;
54 typedef typename mpl::distance<typename mpl::begin<args>::type, first_void>::type type;
55 };
56}}}
57
58#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
59#pragma wave option(output: null)
60#endif
61
62#endif // BOOST_FUSION_DONT_USE_PREPROCESSED_FILES
63
64#endif