PageRenderTime 59ms CodeModel.GetById 19ms app.highlight 36ms RepoModel.GetById 1ms app.codeStats 0ms

/Src/Dependencies/Boost/boost/mpl/aux_/preprocessed/plain/set_c.hpp

http://hadesmem.googlecode.com/
C++ Header | 328 lines | 291 code | 28 blank | 9 comment | 0 complexity | 3a30de2bb10757ef06e45a5e657cc736 MD5 | raw file
  1
  2// Copyright Aleksey Gurtovoy 2000-2004
  3//
  4// Distributed under the Boost Software License, Version 1.0. 
  5// (See accompanying file LICENSE_1_0.txt or copy at 
  6// http://www.boost.org/LICENSE_1_0.txt)
  7//
  8
  9// Preprocessed version of "boost/mpl/set_c.hpp" header
 10// -- DO NOT modify by hand!
 11
 12namespace boost { namespace mpl {
 13
 14template<
 15      typename T, long C0 = LONG_MAX, long C1 = LONG_MAX, long C2 = LONG_MAX
 16    , long C3 = LONG_MAX, long C4 = LONG_MAX, long C5 = LONG_MAX
 17    , long C6 = LONG_MAX, long C7 = LONG_MAX, long C8 = LONG_MAX
 18    , long C9 = LONG_MAX, long C10 = LONG_MAX, long C11 = LONG_MAX
 19    , long C12 = LONG_MAX, long C13 = LONG_MAX, long C14 = LONG_MAX
 20    , long C15 = LONG_MAX, long C16 = LONG_MAX, long C17 = LONG_MAX
 21    , long C18 = LONG_MAX, long C19 = LONG_MAX
 22    >
 23struct set_c;
 24
 25template<
 26      typename T
 27    >
 28struct set_c<
 29          T, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX
 30        , LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX
 31        , LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX
 32        >
 33    : set0_c<T>
 34{
 35    typedef typename set0_c<T>::type type;
 36};
 37
 38template<
 39      typename T, long C0
 40    >
 41struct set_c<
 42          T, C0, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX
 43        , LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX
 44        , LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX
 45        >
 46    : set1_c< T,C0 >
 47{
 48    typedef typename set1_c< T,C0 >::type type;
 49};
 50
 51template<
 52      typename T, long C0, long C1
 53    >
 54struct set_c<
 55          T, C0, C1, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX
 56        , LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX
 57        , LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX
 58        >
 59    : set2_c< T,C0,C1 >
 60{
 61    typedef typename set2_c< T,C0,C1 >::type type;
 62};
 63
 64template<
 65      typename T, long C0, long C1, long C2
 66    >
 67struct set_c<
 68          T, C0, C1, C2, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX
 69        , LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX
 70        , LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX
 71        >
 72    : set3_c< T,C0,C1,C2 >
 73{
 74    typedef typename set3_c< T,C0,C1,C2 >::type type;
 75};
 76
 77template<
 78      typename T, long C0, long C1, long C2, long C3
 79    >
 80struct set_c<
 81          T, C0, C1, C2, C3, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX
 82        , LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX
 83        , LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX
 84        >
 85    : set4_c< T,C0,C1,C2,C3 >
 86{
 87    typedef typename set4_c< T,C0,C1,C2,C3 >::type type;
 88};
 89
 90template<
 91      typename T, long C0, long C1, long C2, long C3, long C4
 92    >
 93struct set_c<
 94          T, C0, C1, C2, C3, C4, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX
 95        , LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX
 96        , LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX
 97        >
 98    : set5_c< T,C0,C1,C2,C3,C4 >
 99{
100    typedef typename set5_c< T,C0,C1,C2,C3,C4 >::type type;
101};
102
103template<
104      typename T, long C0, long C1, long C2, long C3, long C4, long C5
105    >
106struct set_c<
107          T, C0, C1, C2, C3, C4, C5, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX
108        , LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX
109        , LONG_MAX, LONG_MAX, LONG_MAX
110        >
111    : set6_c< T,C0,C1,C2,C3,C4,C5 >
112{
113    typedef typename set6_c< T,C0,C1,C2,C3,C4,C5 >::type type;
114};
115
116template<
117      typename T, long C0, long C1, long C2, long C3, long C4, long C5
118    , long C6
119    >
120struct set_c<
121          T, C0, C1, C2, C3, C4, C5, C6, LONG_MAX, LONG_MAX, LONG_MAX
122        , LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX
123        , LONG_MAX, LONG_MAX, LONG_MAX
124        >
125    : set7_c< T,C0,C1,C2,C3,C4,C5,C6 >
126{
127    typedef typename set7_c< T,C0,C1,C2,C3,C4,C5,C6 >::type type;
128};
129
130template<
131      typename T, long C0, long C1, long C2, long C3, long C4, long C5
132    , long C6, long C7
133    >
134struct set_c<
135          T, C0, C1, C2, C3, C4, C5, C6, C7, LONG_MAX, LONG_MAX, LONG_MAX
136        , LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX
137        , LONG_MAX, LONG_MAX
138        >
139    : set8_c< T,C0,C1,C2,C3,C4,C5,C6,C7 >
140{
141    typedef typename set8_c< T,C0,C1,C2,C3,C4,C5,C6,C7 >::type type;
142};
143
144template<
145      typename T, long C0, long C1, long C2, long C3, long C4, long C5
146    , long C6, long C7, long C8
147    >
148struct set_c<
149          T, C0, C1, C2, C3, C4, C5, C6, C7, C8, LONG_MAX, LONG_MAX, LONG_MAX
150        , LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX
151        , LONG_MAX
152        >
153    : set9_c< T,C0,C1,C2,C3,C4,C5,C6,C7,C8 >
154{
155    typedef typename set9_c< T,C0,C1,C2,C3,C4,C5,C6,C7,C8 >::type type;
156};
157
158template<
159      typename T, long C0, long C1, long C2, long C3, long C4, long C5
160    , long C6, long C7, long C8, long C9
161    >
162struct set_c<
163          T, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, LONG_MAX, LONG_MAX
164        , LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX
165        , LONG_MAX
166        >
167    : set10_c< T,C0,C1,C2,C3,C4,C5,C6,C7,C8,C9 >
168{
169    typedef typename set10_c< T,C0,C1,C2,C3,C4,C5,C6,C7,C8,C9 >::type type;
170};
171
172template<
173      typename T, long C0, long C1, long C2, long C3, long C4, long C5
174    , long C6, long C7, long C8, long C9, long C10
175    >
176struct set_c<
177          T, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, LONG_MAX, LONG_MAX
178        , LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX
179        >
180    : set11_c< T,C0,C1,C2,C3,C4,C5,C6,C7,C8,C9,C10 >
181{
182    typedef typename set11_c< T,C0,C1,C2,C3,C4,C5,C6,C7,C8,C9,C10 >::type type;
183};
184
185template<
186      typename T, long C0, long C1, long C2, long C3, long C4, long C5
187    , long C6, long C7, long C8, long C9, long C10, long C11
188    >
189struct set_c<
190          T, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, LONG_MAX
191        , LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX
192        >
193    : set12_c< T,C0,C1,C2,C3,C4,C5,C6,C7,C8,C9,C10,C11 >
194{
195    typedef typename set12_c< T,C0,C1,C2,C3,C4,C5,C6,C7,C8,C9,C10,C11 >::type type;
196};
197
198template<
199      typename T, long C0, long C1, long C2, long C3, long C4, long C5
200    , long C6, long C7, long C8, long C9, long C10, long C11, long C12
201    >
202struct set_c<
203          T, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, LONG_MAX
204        , LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX
205        >
206    : set13_c< T,C0,C1,C2,C3,C4,C5,C6,C7,C8,C9,C10,C11,C12 >
207{
208    typedef typename set13_c< T,C0,C1,C2,C3,C4,C5,C6,C7,C8,C9,C10,C11,C12 >::type type;
209};
210
211template<
212      typename T, long C0, long C1, long C2, long C3, long C4, long C5
213    , long C6, long C7, long C8, long C9, long C10, long C11, long C12
214    , long C13
215    >
216struct set_c<
217          T, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13
218        , LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX
219        >
220    : set14_c<
221          T, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13
222        >
223{
224    typedef typename set14_c< T,C0,C1,C2,C3,C4,C5,C6,C7,C8,C9,C10,C11,C12,C13 >::type type;
225};
226
227template<
228      typename T, long C0, long C1, long C2, long C3, long C4, long C5
229    , long C6, long C7, long C8, long C9, long C10, long C11, long C12
230    , long C13, long C14
231    >
232struct set_c<
233          T, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14
234        , LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX
235        >
236    : set15_c<
237          T, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14
238        >
239{
240    typedef typename set15_c< T,C0,C1,C2,C3,C4,C5,C6,C7,C8,C9,C10,C11,C12,C13,C14 >::type type;
241};
242
243template<
244      typename T, long C0, long C1, long C2, long C3, long C4, long C5
245    , long C6, long C7, long C8, long C9, long C10, long C11, long C12
246    , long C13, long C14, long C15
247    >
248struct set_c<
249          T, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14
250        , C15, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX
251        >
252    : set16_c<
253          T, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14
254        , C15
255        >
256{
257    typedef typename set16_c< T,C0,C1,C2,C3,C4,C5,C6,C7,C8,C9,C10,C11,C12,C13,C14,C15 >::type type;
258};
259
260template<
261      typename T, long C0, long C1, long C2, long C3, long C4, long C5
262    , long C6, long C7, long C8, long C9, long C10, long C11, long C12
263    , long C13, long C14, long C15, long C16
264    >
265struct set_c<
266          T, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14
267        , C15, C16, LONG_MAX, LONG_MAX, LONG_MAX
268        >
269    : set17_c<
270          T, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14
271        , C15, C16
272        >
273{
274    typedef typename set17_c< T,C0,C1,C2,C3,C4,C5,C6,C7,C8,C9,C10,C11,C12,C13,C14,C15,C16 >::type type;
275};
276
277template<
278      typename T, long C0, long C1, long C2, long C3, long C4, long C5
279    , long C6, long C7, long C8, long C9, long C10, long C11, long C12
280    , long C13, long C14, long C15, long C16, long C17
281    >
282struct set_c<
283          T, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14
284        , C15, C16, C17, LONG_MAX, LONG_MAX
285        >
286    : set18_c<
287          T, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14
288        , C15, C16, C17
289        >
290{
291    typedef typename set18_c< T,C0,C1,C2,C3,C4,C5,C6,C7,C8,C9,C10,C11,C12,C13,C14,C15,C16,C17 >::type type;
292};
293
294template<
295      typename T, long C0, long C1, long C2, long C3, long C4, long C5
296    , long C6, long C7, long C8, long C9, long C10, long C11, long C12
297    , long C13, long C14, long C15, long C16, long C17, long C18
298    >
299struct set_c<
300          T, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14
301        , C15, C16, C17, C18, LONG_MAX
302        >
303    : set19_c<
304          T, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14
305        , C15, C16, C17, C18
306        >
307{
308    typedef typename set19_c< T,C0,C1,C2,C3,C4,C5,C6,C7,C8,C9,C10,C11,C12,C13,C14,C15,C16,C17,C18 >::type type;
309};
310
311/// primary template (not a specialization!)
312
313template<
314      typename T, long C0, long C1, long C2, long C3, long C4, long C5
315    , long C6, long C7, long C8, long C9, long C10, long C11, long C12
316    , long C13, long C14, long C15, long C16, long C17, long C18, long C19
317    >
318struct set_c
319    : set20_c<
320          T, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14
321        , C15, C16, C17, C18, C19
322        >
323{
324    typedef typename set20_c< T,C0,C1,C2,C3,C4,C5,C6,C7,C8,C9,C10,C11,C12,C13,C14,C15,C16,C17,C18,C19 >::type type;
325};
326
327}}
328