PageRenderTime 50ms CodeModel.GetById 2ms app.highlight 44ms RepoModel.GetById 1ms app.codeStats 1ms

/Src/Dependencies/Boost/boost/mpl/aux_/preprocessed/dmc/vector_c.hpp

http://hadesmem.googlecode.com/
C++ Header | 309 lines | 272 code | 28 blank | 9 comment | 0 complexity | 99623498ff099eae841c06c7527a418b 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/vector_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 vector_c;
 24
 25template<
 26      typename T
 27    >
 28struct vector_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    : vector0_c<T>
 34{
 35    typedef typename vector0_c<T>::type type;
 36};
 37
 38template<
 39      typename T, long C0
 40    >
 41struct vector_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    : vector1_c< T, T(C0) >
 47{
 48    typedef typename vector1_c< T, T(C0) >::type type;
 49};
 50
 51template<
 52      typename T, long C0, long C1
 53    >
 54struct vector_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    : vector2_c< T, T(C0), T(C1) >
 60{
 61    typedef typename vector2_c< T, T(C0), T(C1) >::type type;
 62};
 63
 64template<
 65      typename T, long C0, long C1, long C2
 66    >
 67struct vector_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    : vector3_c< T, T(C0), T(C1), T(C2) >
 73{
 74    typedef typename vector3_c< T, T(C0), T(C1), T(C2) >::type type;
 75};
 76
 77template<
 78      typename T, long C0, long C1, long C2, long C3
 79    >
 80struct vector_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    : vector4_c< T, T(C0), T(C1), T(C2), T(C3) >
 86{
 87    typedef typename vector4_c< T, T(C0), T(C1), T(C2), T(C3) >::type type;
 88};
 89
 90template<
 91      typename T, long C0, long C1, long C2, long C3, long C4
 92    >
 93struct vector_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    : vector5_c< T, T(C0), T(C1), T(C2), T(C3), T(C4) >
 99{
100    typedef typename vector5_c< T, T(C0), T(C1), T(C2), T(C3), T(C4) >::type type;
101};
102
103template<
104      typename T, long C0, long C1, long C2, long C3, long C4, long C5
105    >
106struct vector_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    : vector6_c< T, T(C0), T(C1), T(C2), T(C3), T(C4), T(C5) >
112{
113    typedef typename vector6_c< T, T(C0), T(C1), T(C2), T(C3), T(C4), T(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 vector_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    : vector7_c< T, T(C0), T(C1), T(C2), T(C3), T(C4), T(C5), T(C6) >
126{
127    typedef typename vector7_c< T, T(C0), T(C1), T(C2), T(C3), T(C4), T(C5), T(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 vector_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    : vector8_c< T, T(C0), T(C1), T(C2), T(C3), T(C4), T(C5), T(C6), T(C7) >
140{
141    typedef typename vector8_c< T, T(C0), T(C1), T(C2), T(C3), T(C4), T(C5), T(C6), T(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 vector_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    : vector9_c< T, T(C0), T(C1), T(C2), T(C3), T(C4), T(C5), T(C6), T(C7), T(C8) >
154{
155    typedef typename vector9_c< T, T(C0), T(C1), T(C2), T(C3), T(C4), T(C5), T(C6), T(C7), T(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 vector_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    : vector10_c< T, T(C0), T(C1), T(C2), T(C3), T(C4), T(C5), T(C6), T(C7), T(C8), T(C9) >
168{
169    typedef typename vector10_c< T, T(C0), T(C1), T(C2), T(C3), T(C4), T(C5), T(C6), T(C7), T(C8), T(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 vector_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    : vector11_c< T, T(C0), T(C1), T(C2), T(C3), T(C4), T(C5), T(C6), T(C7), T(C8), T(C9), T(C10) >
181{
182    typedef typename vector11_c< T, T(C0), T(C1), T(C2), T(C3), T(C4), T(C5), T(C6), T(C7), T(C8), T(C9), T(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 vector_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    : vector12_c< T, T(C0), T(C1), T(C2), T(C3), T(C4), T(C5), T(C6), T(C7), T(C8), T(C9), T(C10), T(C11) >
194{
195    typedef typename vector12_c< T, T(C0), T(C1), T(C2), T(C3), T(C4), T(C5), T(C6), T(C7), T(C8), T(C9), T(C10), T(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 vector_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    : vector13_c< T, T(C0), T(C1), T(C2), T(C3), T(C4), T(C5), T(C6), T(C7), T(C8), T(C9), T(C10), T(C11), T(C12) >
207{
208    typedef typename vector13_c< T, T(C0), T(C1), T(C2), T(C3), T(C4), T(C5), T(C6), T(C7), T(C8), T(C9), T(C10), T(C11), T(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 vector_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    : vector14_c< T, T(C0), T(C1), T(C2), T(C3), T(C4), T(C5), T(C6), T(C7), T(C8), T(C9), T(C10), T(C11), T(C12), T(C13) >
221{
222    typedef typename vector14_c< T, T(C0), T(C1), T(C2), T(C3), T(C4), T(C5), T(C6), T(C7), T(C8), T(C9), T(C10), T(C11), T(C12), T(C13) >::type type;
223};
224
225template<
226      typename T, long C0, long C1, long C2, long C3, long C4, long C5
227    , long C6, long C7, long C8, long C9, long C10, long C11, long C12
228    , long C13, long C14
229    >
230struct vector_c<
231          T, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14
232        , LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX
233        >
234    : vector15_c< T, T(C0), T(C1), T(C2), T(C3), T(C4), T(C5), T(C6), T(C7), T(C8), T(C9), T(C10), T(C11), T(C12), T(C13), T(C14) >
235{
236    typedef typename vector15_c< T, T(C0), T(C1), T(C2), T(C3), T(C4), T(C5), T(C6), T(C7), T(C8), T(C9), T(C10), T(C11), T(C12), T(C13), T(C14) >::type type;
237};
238
239template<
240      typename T, long C0, long C1, long C2, long C3, long C4, long C5
241    , long C6, long C7, long C8, long C9, long C10, long C11, long C12
242    , long C13, long C14, long C15
243    >
244struct vector_c<
245          T, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14
246        , C15, LONG_MAX, LONG_MAX, LONG_MAX, LONG_MAX
247        >
248    : vector16_c< T, T(C0), T(C1), T(C2), T(C3), T(C4), T(C5), T(C6), T(C7), T(C8), T(C9), T(C10), T(C11), T(C12), T(C13), T(C14), T(C15) >
249{
250    typedef typename vector16_c< T, T(C0), T(C1), T(C2), T(C3), T(C4), T(C5), T(C6), T(C7), T(C8), T(C9), T(C10), T(C11), T(C12), T(C13), T(C14), T(C15) >::type type;
251};
252
253template<
254      typename T, long C0, long C1, long C2, long C3, long C4, long C5
255    , long C6, long C7, long C8, long C9, long C10, long C11, long C12
256    , long C13, long C14, long C15, long C16
257    >
258struct vector_c<
259          T, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14
260        , C15, C16, LONG_MAX, LONG_MAX, LONG_MAX
261        >
262    : vector17_c< T, T(C0), T(C1), T(C2), T(C3), T(C4), T(C5), T(C6), T(C7), T(C8), T(C9), T(C10), T(C11), T(C12), T(C13), T(C14), T(C15), T(C16) >
263{
264    typedef typename vector17_c< T, T(C0), T(C1), T(C2), T(C3), T(C4), T(C5), T(C6), T(C7), T(C8), T(C9), T(C10), T(C11), T(C12), T(C13), T(C14), T(C15), T(C16) >::type type;
265};
266
267template<
268      typename T, long C0, long C1, long C2, long C3, long C4, long C5
269    , long C6, long C7, long C8, long C9, long C10, long C11, long C12
270    , long C13, long C14, long C15, long C16, long C17
271    >
272struct vector_c<
273          T, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14
274        , C15, C16, C17, LONG_MAX, LONG_MAX
275        >
276    : vector18_c< T, T(C0), T(C1), T(C2), T(C3), T(C4), T(C5), T(C6), T(C7), T(C8), T(C9), T(C10), T(C11), T(C12), T(C13), T(C14), T(C15), T(C16), T(C17) >
277{
278    typedef typename vector18_c< T, T(C0), T(C1), T(C2), T(C3), T(C4), T(C5), T(C6), T(C7), T(C8), T(C9), T(C10), T(C11), T(C12), T(C13), T(C14), T(C15), T(C16), T(C17) >::type type;
279};
280
281template<
282      typename T, long C0, long C1, long C2, long C3, long C4, long C5
283    , long C6, long C7, long C8, long C9, long C10, long C11, long C12
284    , long C13, long C14, long C15, long C16, long C17, long C18
285    >
286struct vector_c<
287          T, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14
288        , C15, C16, C17, C18, LONG_MAX
289        >
290    : vector19_c< T, T(C0), T(C1), T(C2), T(C3), T(C4), T(C5), T(C6), T(C7), T(C8), T(C9), T(C10), T(C11), T(C12), T(C13), T(C14), T(C15), T(C16), T(C17), T(C18) >
291{
292    typedef typename vector19_c< T, T(C0), T(C1), T(C2), T(C3), T(C4), T(C5), T(C6), T(C7), T(C8), T(C9), T(C10), T(C11), T(C12), T(C13), T(C14), T(C15), T(C16), T(C17), T(C18) >::type type;
293};
294
295/// primary template (not a specialization!)
296
297template<
298      typename T, long C0, long C1, long C2, long C3, long C4, long C5
299    , long C6, long C7, long C8, long C9, long C10, long C11, long C12
300    , long C13, long C14, long C15, long C16, long C17, long C18, long C19
301    >
302struct vector_c
303    : vector20_c< T, T(C0), T(C1), T(C2), T(C3), T(C4), T(C5), T(C6), T(C7), T(C8), T(C9), T(C10), T(C11), T(C12), T(C13), T(C14), T(C15), T(C16), T(C17), T(C18), T(C19) >
304{
305    typedef typename vector20_c< T, T(C0), T(C1), T(C2), T(C3), T(C4), T(C5), T(C6), T(C7), T(C8), T(C9), T(C10), T(C11), T(C12), T(C13), T(C14), T(C15), T(C16), T(C17), T(C18), T(C19) >::type type;
306};
307
308}}
309