Chris@16
|
1
|
Chris@16
|
2 // Copyright Peter Dimov 2001-2002
|
Chris@16
|
3 // Copyright Aleksey Gurtovoy 2001-2004
|
Chris@16
|
4 //
|
Chris@16
|
5 // Distributed under the Boost Software License, Version 1.0.
|
Chris@16
|
6 // (See accompanying file LICENSE_1_0.txt or copy at
|
Chris@16
|
7 // http://www.boost.org/LICENSE_1_0.txt)
|
Chris@16
|
8 //
|
Chris@16
|
9
|
Chris@16
|
10 // *Preprocessed* version of the main "arg.hpp" header
|
Chris@16
|
11 // -- DO NOT modify by hand!
|
Chris@16
|
12
|
Chris@16
|
13 BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN
|
Chris@16
|
14 template<> struct arg< -1 >
|
Chris@16
|
15 {
|
Chris@16
|
16 BOOST_STATIC_CONSTANT(int, value = -1);
|
Chris@16
|
17 BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
|
Chris@16
|
18 BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
|
Chris@16
|
19
|
Chris@16
|
20 template<
|
Chris@16
|
21 typename U1, typename U2, typename U3, typename U4, typename U5
|
Chris@16
|
22 >
|
Chris@16
|
23 struct apply
|
Chris@16
|
24 {
|
Chris@16
|
25 typedef U1 type;
|
Chris@16
|
26 BOOST_MPL_AUX_ASSERT_NOT_NA(type);
|
Chris@16
|
27 };
|
Chris@16
|
28 };
|
Chris@16
|
29
|
Chris@16
|
30 template<> struct arg<1>
|
Chris@16
|
31 {
|
Chris@16
|
32 BOOST_STATIC_CONSTANT(int, value = 1);
|
Chris@16
|
33 typedef arg<2> next;
|
Chris@16
|
34 BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
|
Chris@16
|
35 BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
|
Chris@16
|
36
|
Chris@16
|
37 template<
|
Chris@16
|
38 typename U1, typename U2, typename U3, typename U4, typename U5
|
Chris@16
|
39 >
|
Chris@16
|
40 struct apply
|
Chris@16
|
41 {
|
Chris@16
|
42 typedef U1 type;
|
Chris@16
|
43 BOOST_MPL_AUX_ASSERT_NOT_NA(type);
|
Chris@16
|
44 };
|
Chris@16
|
45 };
|
Chris@16
|
46
|
Chris@16
|
47 template<> struct arg<2>
|
Chris@16
|
48 {
|
Chris@16
|
49 BOOST_STATIC_CONSTANT(int, value = 2);
|
Chris@16
|
50 typedef arg<3> next;
|
Chris@16
|
51 BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
|
Chris@16
|
52 BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
|
Chris@16
|
53
|
Chris@16
|
54 template<
|
Chris@16
|
55 typename U1, typename U2, typename U3, typename U4, typename U5
|
Chris@16
|
56 >
|
Chris@16
|
57 struct apply
|
Chris@16
|
58 {
|
Chris@16
|
59 typedef U2 type;
|
Chris@16
|
60 BOOST_MPL_AUX_ASSERT_NOT_NA(type);
|
Chris@16
|
61 };
|
Chris@16
|
62 };
|
Chris@16
|
63
|
Chris@16
|
64 template<> struct arg<3>
|
Chris@16
|
65 {
|
Chris@16
|
66 BOOST_STATIC_CONSTANT(int, value = 3);
|
Chris@16
|
67 typedef arg<4> next;
|
Chris@16
|
68 BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
|
Chris@16
|
69 BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
|
Chris@16
|
70
|
Chris@16
|
71 template<
|
Chris@16
|
72 typename U1, typename U2, typename U3, typename U4, typename U5
|
Chris@16
|
73 >
|
Chris@16
|
74 struct apply
|
Chris@16
|
75 {
|
Chris@16
|
76 typedef U3 type;
|
Chris@16
|
77 BOOST_MPL_AUX_ASSERT_NOT_NA(type);
|
Chris@16
|
78 };
|
Chris@16
|
79 };
|
Chris@16
|
80
|
Chris@16
|
81 template<> struct arg<4>
|
Chris@16
|
82 {
|
Chris@16
|
83 BOOST_STATIC_CONSTANT(int, value = 4);
|
Chris@16
|
84 typedef arg<5> next;
|
Chris@16
|
85 BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
|
Chris@16
|
86 BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
|
Chris@16
|
87
|
Chris@16
|
88 template<
|
Chris@16
|
89 typename U1, typename U2, typename U3, typename U4, typename U5
|
Chris@16
|
90 >
|
Chris@16
|
91 struct apply
|
Chris@16
|
92 {
|
Chris@16
|
93 typedef U4 type;
|
Chris@16
|
94 BOOST_MPL_AUX_ASSERT_NOT_NA(type);
|
Chris@16
|
95 };
|
Chris@16
|
96 };
|
Chris@16
|
97
|
Chris@16
|
98 template<> struct arg<5>
|
Chris@16
|
99 {
|
Chris@16
|
100 BOOST_STATIC_CONSTANT(int, value = 5);
|
Chris@16
|
101 typedef arg<6> next;
|
Chris@16
|
102 BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
|
Chris@16
|
103 BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
|
Chris@16
|
104
|
Chris@16
|
105 template<
|
Chris@16
|
106 typename U1, typename U2, typename U3, typename U4, typename U5
|
Chris@16
|
107 >
|
Chris@16
|
108 struct apply
|
Chris@16
|
109 {
|
Chris@16
|
110 typedef U5 type;
|
Chris@16
|
111 BOOST_MPL_AUX_ASSERT_NOT_NA(type);
|
Chris@16
|
112 };
|
Chris@16
|
113 };
|
Chris@16
|
114
|
Chris@16
|
115 BOOST_MPL_AUX_NONTYPE_ARITY_SPEC(1,int, arg)
|
Chris@16
|
116
|
Chris@16
|
117 BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_CLOSE
|