source: NonGTP/Boost/boost/mpl/map/aux_/preprocessed/no_ctps/map10.hpp @ 857

Revision 857, 6.5 KB checked in by igarcia, 18 years ago (diff)
Line 
1
2// Copyright Aleksey Gurtovoy 2000-2004
3// Copyright David Abrahams 2003-2004
4//
5// Distributed under the Boost Software License, Version 1.0.
6// (See accompanying file LICENSE_1_0.txt or copy at
7// http://www.boost.org/LICENSE_1_0.txt)
8//
9
10// Preprocessed version of "boost/mpl/map/map10.hpp" header
11// -- DO NOT modify by hand!
12
13namespace boost { namespace mpl {
14
15template<>
16struct m_at_impl<0>
17{
18    template< typename Map > struct result_
19    {
20        typedef typename Map::item0 type;
21    };
22};
23
24template<>
25struct m_item_impl<1>
26{
27    template< typename Key, typename T, typename Base > struct result_
28        : m_item_< Key,T,Base >
29    {
30        typedef pair< Key,T > item0;
31    };
32};
33
34template<
35      typename P0
36    >
37struct map1
38    : m_item<
39          1
40        , typename P0::first
41        , typename P0::second
42        , map0<  >
43        >
44{
45    typedef map1 type;
46};
47
48template<>
49struct m_at_impl<1>
50{
51    template< typename Map > struct result_
52    {
53        typedef typename Map::item1 type;
54    };
55};
56
57template<>
58struct m_item_impl<2>
59{
60    template< typename Key, typename T, typename Base > struct result_
61        : m_item_< Key,T,Base >
62    {
63        typedef pair< Key,T > item1;
64    };
65};
66
67template<
68      typename P0, typename P1
69    >
70struct map2
71    : m_item<
72          2
73        , typename P1::first
74        , typename P1::second
75        , map1<P0>
76        >
77{
78    typedef map2 type;
79};
80
81template<>
82struct m_at_impl<2>
83{
84    template< typename Map > struct result_
85    {
86        typedef typename Map::item2 type;
87    };
88};
89
90template<>
91struct m_item_impl<3>
92{
93    template< typename Key, typename T, typename Base > struct result_
94        : m_item_< Key,T,Base >
95    {
96        typedef pair< Key,T > item2;
97    };
98};
99
100template<
101      typename P0, typename P1, typename P2
102    >
103struct map3
104    : m_item<
105          3
106        , typename P2::first
107        , typename P2::second
108        , map2< P0,P1 >
109        >
110{
111    typedef map3 type;
112};
113
114template<>
115struct m_at_impl<3>
116{
117    template< typename Map > struct result_
118    {
119        typedef typename Map::item3 type;
120    };
121};
122
123template<>
124struct m_item_impl<4>
125{
126    template< typename Key, typename T, typename Base > struct result_
127        : m_item_< Key,T,Base >
128    {
129        typedef pair< Key,T > item3;
130    };
131};
132
133template<
134      typename P0, typename P1, typename P2, typename P3
135    >
136struct map4
137    : m_item<
138          4
139        , typename P3::first
140        , typename P3::second
141        , map3< P0,P1,P2 >
142        >
143{
144    typedef map4 type;
145};
146
147template<>
148struct m_at_impl<4>
149{
150    template< typename Map > struct result_
151    {
152        typedef typename Map::item4 type;
153    };
154};
155
156template<>
157struct m_item_impl<5>
158{
159    template< typename Key, typename T, typename Base > struct result_
160        : m_item_< Key,T,Base >
161    {
162        typedef pair< Key,T > item4;
163    };
164};
165
166template<
167      typename P0, typename P1, typename P2, typename P3, typename P4
168    >
169struct map5
170    : m_item<
171          5
172        , typename P4::first
173        , typename P4::second
174        , map4< P0,P1,P2,P3 >
175        >
176{
177    typedef map5 type;
178};
179
180template<>
181struct m_at_impl<5>
182{
183    template< typename Map > struct result_
184    {
185        typedef typename Map::item5 type;
186    };
187};
188
189template<>
190struct m_item_impl<6>
191{
192    template< typename Key, typename T, typename Base > struct result_
193        : m_item_< Key,T,Base >
194    {
195        typedef pair< Key,T > item5;
196    };
197};
198
199template<
200      typename P0, typename P1, typename P2, typename P3, typename P4
201    , typename P5
202    >
203struct map6
204    : m_item<
205          6
206        , typename P5::first
207        , typename P5::second
208        , map5< P0,P1,P2,P3,P4 >
209        >
210{
211    typedef map6 type;
212};
213
214template<>
215struct m_at_impl<6>
216{
217    template< typename Map > struct result_
218    {
219        typedef typename Map::item6 type;
220    };
221};
222
223template<>
224struct m_item_impl<7>
225{
226    template< typename Key, typename T, typename Base > struct result_
227        : m_item_< Key,T,Base >
228    {
229        typedef pair< Key,T > item6;
230    };
231};
232
233template<
234      typename P0, typename P1, typename P2, typename P3, typename P4
235    , typename P5, typename P6
236    >
237struct map7
238    : m_item<
239          7
240        , typename P6::first
241        , typename P6::second
242        , map6< P0,P1,P2,P3,P4,P5 >
243        >
244{
245    typedef map7 type;
246};
247
248template<>
249struct m_at_impl<7>
250{
251    template< typename Map > struct result_
252    {
253        typedef typename Map::item7 type;
254    };
255};
256
257template<>
258struct m_item_impl<8>
259{
260    template< typename Key, typename T, typename Base > struct result_
261        : m_item_< Key,T,Base >
262    {
263        typedef pair< Key,T > item7;
264    };
265};
266
267template<
268      typename P0, typename P1, typename P2, typename P3, typename P4
269    , typename P5, typename P6, typename P7
270    >
271struct map8
272    : m_item<
273          8
274        , typename P7::first
275        , typename P7::second
276        , map7< P0,P1,P2,P3,P4,P5,P6 >
277        >
278{
279    typedef map8 type;
280};
281
282template<>
283struct m_at_impl<8>
284{
285    template< typename Map > struct result_
286    {
287        typedef typename Map::item8 type;
288    };
289};
290
291template<>
292struct m_item_impl<9>
293{
294    template< typename Key, typename T, typename Base > struct result_
295        : m_item_< Key,T,Base >
296    {
297        typedef pair< Key,T > item8;
298    };
299};
300
301template<
302      typename P0, typename P1, typename P2, typename P3, typename P4
303    , typename P5, typename P6, typename P7, typename P8
304    >
305struct map9
306    : m_item<
307          9
308        , typename P8::first
309        , typename P8::second
310        , map8< P0,P1,P2,P3,P4,P5,P6,P7 >
311        >
312{
313    typedef map9 type;
314};
315
316template<>
317struct m_at_impl<9>
318{
319    template< typename Map > struct result_
320    {
321        typedef typename Map::item9 type;
322    };
323};
324
325template<>
326struct m_item_impl<10>
327{
328    template< typename Key, typename T, typename Base > struct result_
329        : m_item_< Key,T,Base >
330    {
331        typedef pair< Key,T > item9;
332    };
333};
334
335template<
336      typename P0, typename P1, typename P2, typename P3, typename P4
337    , typename P5, typename P6, typename P7, typename P8, typename P9
338    >
339struct map10
340    : m_item<
341          10
342        , typename P9::first
343        , typename P9::second
344        , map9< P0,P1,P2,P3,P4,P5,P6,P7,P8 >
345        >
346{
347    typedef map10 type;
348};
349
350}}
Note: See TracBrowser for help on using the repository browser.