ARTS  2.0.49
make_array.h
Go to the documentation of this file.
1 /* Copyright (C) 2001-2008 Stefan Buehler <sbuehler@ltu.se>
2 
3  This program is free software; you can redistribute it and/or modify it
4  under the terms of the GNU General Public License as published by the
5  Free Software Foundation; either version 2, or (at your option) any
6  later version.
7 
8  This program is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  GNU General Public License for more details.
12 
13  You should have received a copy of the GNU General Public License
14  along with this program; if not, write to the Free Software
15  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
16  USA. */
17 
27 #ifndef make_array_h
28 #define make_array_h
29 
30 #include "array.h"
31 
50 template<class base>
51 class MakeArray : public Array<base>
52 {
53 public:
54  MakeArray();
55  MakeArray(Array<base>& narray);
56  MakeArray(
57  const base& a0
58  );
59  MakeArray(
60  const base& a0,
61  const base& a1
62  );
63  MakeArray(
64  const base& a0,
65  const base& a1,
66  const base& a2
67  );
68  MakeArray(
69  const base& a0,
70  const base& a1,
71  const base& a2,
72  const base& a3
73  );
74  MakeArray(
75  const base& a0,
76  const base& a1,
77  const base& a2,
78  const base& a3,
79  const base& a4
80  );
81  MakeArray(
82  const base& a0,
83  const base& a1,
84  const base& a2,
85  const base& a3,
86  const base& a4,
87  const base& a5
88  );
89  MakeArray(
90  const base& a0,
91  const base& a1,
92  const base& a2,
93  const base& a3,
94  const base& a4,
95  const base& a5,
96  const base& a6
97  );
98  MakeArray(
99  const base& a0,
100  const base& a1,
101  const base& a2,
102  const base& a3,
103  const base& a4,
104  const base& a5,
105  const base& a6,
106  const base& a7
107  );
108  MakeArray(
109  const base& a0,
110  const base& a1,
111  const base& a2,
112  const base& a3,
113  const base& a4,
114  const base& a5,
115  const base& a6,
116  const base& a7,
117  const base& a8
118  );
119  MakeArray(
120  const base& a0,
121  const base& a1,
122  const base& a2,
123  const base& a3,
124  const base& a4,
125  const base& a5,
126  const base& a6,
127  const base& a7,
128  const base& a8,
129  const base& a9
130  );
131  MakeArray(
132  const base& a0,
133  const base& a1,
134  const base& a2,
135  const base& a3,
136  const base& a4,
137  const base& a5,
138  const base& a6,
139  const base& a7,
140  const base& a8,
141  const base& a9,
142  const base& a10
143  );
144  MakeArray(
145  const base& a0,
146  const base& a1,
147  const base& a2,
148  const base& a3,
149  const base& a4,
150  const base& a5,
151  const base& a6,
152  const base& a7,
153  const base& a8,
154  const base& a9,
155  const base& a10,
156  const base& a11
157  );
158  MakeArray(
159  const base& a0,
160  const base& a1,
161  const base& a2,
162  const base& a3,
163  const base& a4,
164  const base& a5,
165  const base& a6,
166  const base& a7,
167  const base& a8,
168  const base& a9,
169  const base& a10,
170  const base& a11,
171  const base& a12
172  );
173  MakeArray(
174  const base& a0,
175  const base& a1,
176  const base& a2,
177  const base& a3,
178  const base& a4,
179  const base& a5,
180  const base& a6,
181  const base& a7,
182  const base& a8,
183  const base& a9,
184  const base& a10,
185  const base& a11,
186  const base& a12,
187  const base& a13
188  );
189  MakeArray(
190  const base& a0,
191  const base& a1,
192  const base& a2,
193  const base& a3,
194  const base& a4,
195  const base& a5,
196  const base& a6,
197  const base& a7,
198  const base& a8,
199  const base& a9,
200  const base& a10,
201  const base& a11,
202  const base& a12,
203  const base& a13,
204  const base& a14
205  );
206  MakeArray(
207  const base& a0,
208  const base& a1,
209  const base& a2,
210  const base& a3,
211  const base& a4,
212  const base& a5,
213  const base& a6,
214  const base& a7,
215  const base& a8,
216  const base& a9,
217  const base& a10,
218  const base& a11,
219  const base& a12,
220  const base& a13,
221  const base& a14,
222  const base& a15
223  );
224  MakeArray(
225  const base& a0,
226  const base& a1,
227  const base& a2,
228  const base& a3,
229  const base& a4,
230  const base& a5,
231  const base& a6,
232  const base& a7,
233  const base& a8,
234  const base& a9,
235  const base& a10,
236  const base& a11,
237  const base& a12,
238  const base& a13,
239  const base& a14,
240  const base& a15,
241  const base& a16
242  );
243  MakeArray(
244  const base& a0,
245  const base& a1,
246  const base& a2,
247  const base& a3,
248  const base& a4,
249  const base& a5,
250  const base& a6,
251  const base& a7,
252  const base& a8,
253  const base& a9,
254  const base& a10,
255  const base& a11,
256  const base& a12,
257  const base& a13,
258  const base& a14,
259  const base& a15,
260  const base& a16,
261  const base& a17
262  );
263  MakeArray(
264  const base& a0,
265  const base& a1,
266  const base& a2,
267  const base& a3,
268  const base& a4,
269  const base& a5,
270  const base& a6,
271  const base& a7,
272  const base& a8,
273  const base& a9,
274  const base& a10,
275  const base& a11,
276  const base& a12,
277  const base& a13,
278  const base& a14,
279  const base& a15,
280  const base& a16,
281  const base& a17,
282  const base& a18
283  );
284  MakeArray(
285  const base& a0,
286  const base& a1,
287  const base& a2,
288  const base& a3,
289  const base& a4,
290  const base& a5,
291  const base& a6,
292  const base& a7,
293  const base& a8,
294  const base& a9,
295  const base& a10,
296  const base& a11,
297  const base& a12,
298  const base& a13,
299  const base& a14,
300  const base& a15,
301  const base& a16,
302  const base& a17,
303  const base& a18,
304  const base& a19
305  );
306  MakeArray(
307  const base& a0,
308  const base& a1,
309  const base& a2,
310  const base& a3,
311  const base& a4,
312  const base& a5,
313  const base& a6,
314  const base& a7,
315  const base& a8,
316  const base& a9,
317  const base& a10,
318  const base& a11,
319  const base& a12,
320  const base& a13,
321  const base& a14,
322  const base& a15,
323  const base& a16,
324  const base& a17,
325  const base& a18,
326  const base& a19,
327  const base& a20
328  );
329  MakeArray(
330  const base& a0,
331  const base& a1,
332  const base& a2,
333  const base& a3,
334  const base& a4,
335  const base& a5,
336  const base& a6,
337  const base& a7,
338  const base& a8,
339  const base& a9,
340  const base& a10,
341  const base& a11,
342  const base& a12,
343  const base& a13,
344  const base& a14,
345  const base& a15,
346  const base& a16,
347  const base& a17,
348  const base& a18,
349  const base& a19,
350  const base& a20,
351  const base& a21
352  );
353  MakeArray(
354  const base& a0,
355  const base& a1,
356  const base& a2,
357  const base& a3,
358  const base& a4,
359  const base& a5,
360  const base& a6,
361  const base& a7,
362  const base& a8,
363  const base& a9,
364  const base& a10,
365  const base& a11,
366  const base& a12,
367  const base& a13,
368  const base& a14,
369  const base& a15,
370  const base& a16,
371  const base& a17,
372  const base& a18,
373  const base& a19,
374  const base& a20,
375  const base& a21,
376  const base& a22
377  );
378  MakeArray(
379  const base& a0,
380  const base& a1,
381  const base& a2,
382  const base& a3,
383  const base& a4,
384  const base& a5,
385  const base& a6,
386  const base& a7,
387  const base& a8,
388  const base& a9,
389  const base& a10,
390  const base& a11,
391  const base& a12,
392  const base& a13,
393  const base& a14,
394  const base& a15,
395  const base& a16,
396  const base& a17,
397  const base& a18,
398  const base& a19,
399  const base& a20,
400  const base& a21,
401  const base& a22,
402  const base& a23
403  );
404  MakeArray(
405  const base& a0,
406  const base& a1,
407  const base& a2,
408  const base& a3,
409  const base& a4,
410  const base& a5,
411  const base& a6,
412  const base& a7,
413  const base& a8,
414  const base& a9,
415  const base& a10,
416  const base& a11,
417  const base& a12,
418  const base& a13,
419  const base& a14,
420  const base& a15,
421  const base& a16,
422  const base& a17,
423  const base& a18,
424  const base& a19,
425  const base& a20,
426  const base& a21,
427  const base& a22,
428  const base& a23,
429  const base& a24
430  );
431  MakeArray(
432  const base& a0,
433  const base& a1,
434  const base& a2,
435  const base& a3,
436  const base& a4,
437  const base& a5,
438  const base& a6,
439  const base& a7,
440  const base& a8,
441  const base& a9,
442  const base& a10,
443  const base& a11,
444  const base& a12,
445  const base& a13,
446  const base& a14,
447  const base& a15,
448  const base& a16,
449  const base& a17,
450  const base& a18,
451  const base& a19,
452  const base& a20,
453  const base& a21,
454  const base& a22,
455  const base& a23,
456  const base& a24,
457  const base& a25
458  );
459  MakeArray(
460  const base& a0,
461  const base& a1,
462  const base& a2,
463  const base& a3,
464  const base& a4,
465  const base& a5,
466  const base& a6,
467  const base& a7,
468  const base& a8,
469  const base& a9,
470  const base& a10,
471  const base& a11,
472  const base& a12,
473  const base& a13,
474  const base& a14,
475  const base& a15,
476  const base& a16,
477  const base& a17,
478  const base& a18,
479  const base& a19,
480  const base& a20,
481  const base& a21,
482  const base& a22,
483  const base& a23,
484  const base& a24,
485  const base& a25,
486  const base& a26
487  );
488  MakeArray(
489  const base& a0,
490  const base& a1,
491  const base& a2,
492  const base& a3,
493  const base& a4,
494  const base& a5,
495  const base& a6,
496  const base& a7,
497  const base& a8,
498  const base& a9,
499  const base& a10,
500  const base& a11,
501  const base& a12,
502  const base& a13,
503  const base& a14,
504  const base& a15,
505  const base& a16,
506  const base& a17,
507  const base& a18,
508  const base& a19,
509  const base& a20,
510  const base& a21,
511  const base& a22,
512  const base& a23,
513  const base& a24,
514  const base& a25,
515  const base& a26,
516  const base& a27
517  );
518  MakeArray(
519  const base& a0,
520  const base& a1,
521  const base& a2,
522  const base& a3,
523  const base& a4,
524  const base& a5,
525  const base& a6,
526  const base& a7,
527  const base& a8,
528  const base& a9,
529  const base& a10,
530  const base& a11,
531  const base& a12,
532  const base& a13,
533  const base& a14,
534  const base& a15,
535  const base& a16,
536  const base& a17,
537  const base& a18,
538  const base& a19,
539  const base& a20,
540  const base& a21,
541  const base& a22,
542  const base& a23,
543  const base& a24,
544  const base& a25,
545  const base& a26,
546  const base& a27,
547  const base& a28
548  );
549  MakeArray(
550  const base& a0,
551  const base& a1,
552  const base& a2,
553  const base& a3,
554  const base& a4,
555  const base& a5,
556  const base& a6,
557  const base& a7,
558  const base& a8,
559  const base& a9,
560  const base& a10,
561  const base& a11,
562  const base& a12,
563  const base& a13,
564  const base& a14,
565  const base& a15,
566  const base& a16,
567  const base& a17,
568  const base& a18,
569  const base& a19,
570  const base& a20,
571  const base& a21,
572  const base& a22,
573  const base& a23,
574  const base& a24,
575  const base& a25,
576  const base& a26,
577  const base& a27,
578  const base& a28,
579  const base& a29
580  );
581  MakeArray(
582  const base& a0,
583  const base& a1,
584  const base& a2,
585  const base& a3,
586  const base& a4,
587  const base& a5,
588  const base& a6,
589  const base& a7,
590  const base& a8,
591  const base& a9,
592  const base& a10,
593  const base& a11,
594  const base& a12,
595  const base& a13,
596  const base& a14,
597  const base& a15,
598  const base& a16,
599  const base& a17,
600  const base& a18,
601  const base& a19,
602  const base& a20,
603  const base& a21,
604  const base& a22,
605  const base& a23,
606  const base& a24,
607  const base& a25,
608  const base& a26,
609  const base& a27,
610  const base& a28,
611  const base& a29,
612  const base& a30
613  );
614  MakeArray(
615  const base& a0,
616  const base& a1,
617  const base& a2,
618  const base& a3,
619  const base& a4,
620  const base& a5,
621  const base& a6,
622  const base& a7,
623  const base& a8,
624  const base& a9,
625  const base& a10,
626  const base& a11,
627  const base& a12,
628  const base& a13,
629  const base& a14,
630  const base& a15,
631  const base& a16,
632  const base& a17,
633  const base& a18,
634  const base& a19,
635  const base& a20,
636  const base& a21,
637  const base& a22,
638  const base& a23,
639  const base& a24,
640  const base& a25,
641  const base& a26,
642  const base& a27,
643  const base& a28,
644  const base& a29,
645  const base& a30,
646  const base& a31
647  );
648  MakeArray(
649  const base& a0,
650  const base& a1,
651  const base& a2,
652  const base& a3,
653  const base& a4,
654  const base& a5,
655  const base& a6,
656  const base& a7,
657  const base& a8,
658  const base& a9,
659  const base& a10,
660  const base& a11,
661  const base& a12,
662  const base& a13,
663  const base& a14,
664  const base& a15,
665  const base& a16,
666  const base& a17,
667  const base& a18,
668  const base& a19,
669  const base& a20,
670  const base& a21,
671  const base& a22,
672  const base& a23,
673  const base& a24,
674  const base& a25,
675  const base& a26,
676  const base& a27,
677  const base& a28,
678  const base& a29,
679  const base& a30,
680  const base& a31,
681  const base& a32
682  );
683  MakeArray(
684  const base& a0,
685  const base& a1,
686  const base& a2,
687  const base& a3,
688  const base& a4,
689  const base& a5,
690  const base& a6,
691  const base& a7,
692  const base& a8,
693  const base& a9,
694  const base& a10,
695  const base& a11,
696  const base& a12,
697  const base& a13,
698  const base& a14,
699  const base& a15,
700  const base& a16,
701  const base& a17,
702  const base& a18,
703  const base& a19,
704  const base& a20,
705  const base& a21,
706  const base& a22,
707  const base& a23,
708  const base& a24,
709  const base& a25,
710  const base& a26,
711  const base& a27,
712  const base& a28,
713  const base& a29,
714  const base& a30,
715  const base& a31,
716  const base& a32,
717  const base& a33
718  );
719  MakeArray(
720  const base& a0,
721  const base& a1,
722  const base& a2,
723  const base& a3,
724  const base& a4,
725  const base& a5,
726  const base& a6,
727  const base& a7,
728  const base& a8,
729  const base& a9,
730  const base& a10,
731  const base& a11,
732  const base& a12,
733  const base& a13,
734  const base& a14,
735  const base& a15,
736  const base& a16,
737  const base& a17,
738  const base& a18,
739  const base& a19,
740  const base& a20,
741  const base& a21,
742  const base& a22,
743  const base& a23,
744  const base& a24,
745  const base& a25,
746  const base& a26,
747  const base& a27,
748  const base& a28,
749  const base& a29,
750  const base& a30,
751  const base& a31,
752  const base& a32,
753  const base& a33,
754  const base& a34
755  );
756  MakeArray(
757  const base& a0,
758  const base& a1,
759  const base& a2,
760  const base& a3,
761  const base& a4,
762  const base& a5,
763  const base& a6,
764  const base& a7,
765  const base& a8,
766  const base& a9,
767  const base& a10,
768  const base& a11,
769  const base& a12,
770  const base& a13,
771  const base& a14,
772  const base& a15,
773  const base& a16,
774  const base& a17,
775  const base& a18,
776  const base& a19,
777  const base& a20,
778  const base& a21,
779  const base& a22,
780  const base& a23,
781  const base& a24,
782  const base& a25,
783  const base& a26,
784  const base& a27,
785  const base& a28,
786  const base& a29,
787  const base& a30,
788  const base& a31,
789  const base& a32,
790  const base& a33,
791  const base& a34,
792  const base& a35
793  );
794 };
795 
796 
797 // Define the functions here, to avoid inlining:
798 
799 template<class base>
801 {
802  // Just an empty array.
803 }
804 template<class base>
806 {
807 }
808 template<class base>
810  const base& a0
811  ) : Array<base>(1)
812 {
813  vector<base>::operator[](0) = a0;
814 }
815 template<class base>
817  const base& a0,
818  const base& a1
819  ) : Array<base>(2)
820 {
821  vector<base>::operator[](0) = a0;
822  vector<base>::operator[](1) = a1;
823 }
824 template<class base>
826  const base& a0,
827  const base& a1,
828  const base& a2
829  ) : Array<base>(3)
830 {
831  vector<base>::operator[](0) = a0;
832  vector<base>::operator[](1) = a1;
833  vector<base>::operator[](2) = a2;
834 }
835 template<class base>
837  const base& a0,
838  const base& a1,
839  const base& a2,
840  const base& a3
841  ) : Array<base>(4)
842 {
843  vector<base>::operator[](0) = a0;
844  vector<base>::operator[](1) = a1;
845  vector<base>::operator[](2) = a2;
846  vector<base>::operator[](3) = a3;
847 }
848 template<class base>
850  const base& a0,
851  const base& a1,
852  const base& a2,
853  const base& a3,
854  const base& a4
855  ) : Array<base>(5)
856 {
857  vector<base>::operator[](0) = a0;
858  vector<base>::operator[](1) = a1;
859  vector<base>::operator[](2) = a2;
860  vector<base>::operator[](3) = a3;
861  vector<base>::operator[](4) = a4;
862 }
863 template<class base>
865  const base& a0,
866  const base& a1,
867  const base& a2,
868  const base& a3,
869  const base& a4,
870  const base& a5
871  ) : Array<base>(6)
872 {
873  vector<base>::operator[](0) = a0;
874  vector<base>::operator[](1) = a1;
875  vector<base>::operator[](2) = a2;
876  vector<base>::operator[](3) = a3;
877  vector<base>::operator[](4) = a4;
878  vector<base>::operator[](5) = a5;
879 }
880 template<class base>
882  const base& a0,
883  const base& a1,
884  const base& a2,
885  const base& a3,
886  const base& a4,
887  const base& a5,
888  const base& a6
889  ) : Array<base>(7)
890 {
891  vector<base>::operator[](0) = a0;
892  vector<base>::operator[](1) = a1;
893  vector<base>::operator[](2) = a2;
894  vector<base>::operator[](3) = a3;
895  vector<base>::operator[](4) = a4;
896  vector<base>::operator[](5) = a5;
897  vector<base>::operator[](6) = a6;
898 }
899 template<class base>
901  const base& a0,
902  const base& a1,
903  const base& a2,
904  const base& a3,
905  const base& a4,
906  const base& a5,
907  const base& a6,
908  const base& a7
909  ) : Array<base>(8)
910 {
911  vector<base>::operator[](0) = a0;
912  vector<base>::operator[](1) = a1;
913  vector<base>::operator[](2) = a2;
914  vector<base>::operator[](3) = a3;
915  vector<base>::operator[](4) = a4;
916  vector<base>::operator[](5) = a5;
917  vector<base>::operator[](6) = a6;
918  vector<base>::operator[](7) = a7;
919 }
920 template<class base>
922  const base& a0,
923  const base& a1,
924  const base& a2,
925  const base& a3,
926  const base& a4,
927  const base& a5,
928  const base& a6,
929  const base& a7,
930  const base& a8
931  ) : Array<base>(9)
932 {
933  vector<base>::operator[](0) = a0;
934  vector<base>::operator[](1) = a1;
935  vector<base>::operator[](2) = a2;
936  vector<base>::operator[](3) = a3;
937  vector<base>::operator[](4) = a4;
938  vector<base>::operator[](5) = a5;
939  vector<base>::operator[](6) = a6;
940  vector<base>::operator[](7) = a7;
941  vector<base>::operator[](8) = a8;
942 }
943 template<class base>
945  const base& a0,
946  const base& a1,
947  const base& a2,
948  const base& a3,
949  const base& a4,
950  const base& a5,
951  const base& a6,
952  const base& a7,
953  const base& a8,
954  const base& a9
955  ) : Array<base>(10)
956 {
957  vector<base>::operator[](0) = a0;
958  vector<base>::operator[](1) = a1;
959  vector<base>::operator[](2) = a2;
960  vector<base>::operator[](3) = a3;
961  vector<base>::operator[](4) = a4;
962  vector<base>::operator[](5) = a5;
963  vector<base>::operator[](6) = a6;
964  vector<base>::operator[](7) = a7;
965  vector<base>::operator[](8) = a8;
966  vector<base>::operator[](9) = a9;
967 }
968 template<class base>
970  const base& a0,
971  const base& a1,
972  const base& a2,
973  const base& a3,
974  const base& a4,
975  const base& a5,
976  const base& a6,
977  const base& a7,
978  const base& a8,
979  const base& a9,
980  const base& a10
981  ) : Array<base>(11)
982 {
983  vector<base>::operator[](0) = a0;
984  vector<base>::operator[](1) = a1;
985  vector<base>::operator[](2) = a2;
986  vector<base>::operator[](3) = a3;
987  vector<base>::operator[](4) = a4;
988  vector<base>::operator[](5) = a5;
989  vector<base>::operator[](6) = a6;
990  vector<base>::operator[](7) = a7;
991  vector<base>::operator[](8) = a8;
992  vector<base>::operator[](9) = a9;
993  vector<base>::operator[](10) = a10;
994 }
995 template<class base>
997  const base& a0,
998  const base& a1,
999  const base& a2,
1000  const base& a3,
1001  const base& a4,
1002  const base& a5,
1003  const base& a6,
1004  const base& a7,
1005  const base& a8,
1006  const base& a9,
1007  const base& a10,
1008  const base& a11
1009  ) : Array<base>(12)
1010 {
1011  vector<base>::operator[](0) = a0;
1012  vector<base>::operator[](1) = a1;
1013  vector<base>::operator[](2) = a2;
1014  vector<base>::operator[](3) = a3;
1015  vector<base>::operator[](4) = a4;
1016  vector<base>::operator[](5) = a5;
1017  vector<base>::operator[](6) = a6;
1018  vector<base>::operator[](7) = a7;
1019  vector<base>::operator[](8) = a8;
1020  vector<base>::operator[](9) = a9;
1021  vector<base>::operator[](10) = a10;
1022  vector<base>::operator[](11) = a11;
1023 }
1024 template<class base>
1026  const base& a0,
1027  const base& a1,
1028  const base& a2,
1029  const base& a3,
1030  const base& a4,
1031  const base& a5,
1032  const base& a6,
1033  const base& a7,
1034  const base& a8,
1035  const base& a9,
1036  const base& a10,
1037  const base& a11,
1038  const base& a12
1039  ) : Array<base>(13)
1040 {
1041  vector<base>::operator[](0) = a0;
1042  vector<base>::operator[](1) = a1;
1043  vector<base>::operator[](2) = a2;
1044  vector<base>::operator[](3) = a3;
1045  vector<base>::operator[](4) = a4;
1046  vector<base>::operator[](5) = a5;
1047  vector<base>::operator[](6) = a6;
1048  vector<base>::operator[](7) = a7;
1049  vector<base>::operator[](8) = a8;
1050  vector<base>::operator[](9) = a9;
1051  vector<base>::operator[](10) = a10;
1052  vector<base>::operator[](11) = a11;
1053  vector<base>::operator[](12) = a12;
1054 }
1055 template<class base>
1057  const base& a0,
1058  const base& a1,
1059  const base& a2,
1060  const base& a3,
1061  const base& a4,
1062  const base& a5,
1063  const base& a6,
1064  const base& a7,
1065  const base& a8,
1066  const base& a9,
1067  const base& a10,
1068  const base& a11,
1069  const base& a12,
1070  const base& a13
1071  ) : Array<base>(14)
1072 {
1073  vector<base>::operator[](0) = a0;
1074  vector<base>::operator[](1) = a1;
1075  vector<base>::operator[](2) = a2;
1076  vector<base>::operator[](3) = a3;
1077  vector<base>::operator[](4) = a4;
1078  vector<base>::operator[](5) = a5;
1079  vector<base>::operator[](6) = a6;
1080  vector<base>::operator[](7) = a7;
1081  vector<base>::operator[](8) = a8;
1082  vector<base>::operator[](9) = a9;
1083  vector<base>::operator[](10) = a10;
1084  vector<base>::operator[](11) = a11;
1085  vector<base>::operator[](12) = a12;
1086  vector<base>::operator[](13) = a13;
1087 }
1088 template<class base>
1090  const base& a0,
1091  const base& a1,
1092  const base& a2,
1093  const base& a3,
1094  const base& a4,
1095  const base& a5,
1096  const base& a6,
1097  const base& a7,
1098  const base& a8,
1099  const base& a9,
1100  const base& a10,
1101  const base& a11,
1102  const base& a12,
1103  const base& a13,
1104  const base& a14
1105  ) : Array<base>(15)
1106 {
1107  vector<base>::operator[](0) = a0;
1108  vector<base>::operator[](1) = a1;
1109  vector<base>::operator[](2) = a2;
1110  vector<base>::operator[](3) = a3;
1111  vector<base>::operator[](4) = a4;
1112  vector<base>::operator[](5) = a5;
1113  vector<base>::operator[](6) = a6;
1114  vector<base>::operator[](7) = a7;
1115  vector<base>::operator[](8) = a8;
1116  vector<base>::operator[](9) = a9;
1117  vector<base>::operator[](10) = a10;
1118  vector<base>::operator[](11) = a11;
1119  vector<base>::operator[](12) = a12;
1120  vector<base>::operator[](13) = a13;
1121  vector<base>::operator[](14) = a14;
1122 }
1123 template<class base>
1125  const base& a0,
1126  const base& a1,
1127  const base& a2,
1128  const base& a3,
1129  const base& a4,
1130  const base& a5,
1131  const base& a6,
1132  const base& a7,
1133  const base& a8,
1134  const base& a9,
1135  const base& a10,
1136  const base& a11,
1137  const base& a12,
1138  const base& a13,
1139  const base& a14,
1140  const base& a15
1141  ) : Array<base>(16)
1142 {
1143  vector<base>::operator[](0) = a0;
1144  vector<base>::operator[](1) = a1;
1145  vector<base>::operator[](2) = a2;
1146  vector<base>::operator[](3) = a3;
1147  vector<base>::operator[](4) = a4;
1148  vector<base>::operator[](5) = a5;
1149  vector<base>::operator[](6) = a6;
1150  vector<base>::operator[](7) = a7;
1151  vector<base>::operator[](8) = a8;
1152  vector<base>::operator[](9) = a9;
1153  vector<base>::operator[](10) = a10;
1154  vector<base>::operator[](11) = a11;
1155  vector<base>::operator[](12) = a12;
1156  vector<base>::operator[](13) = a13;
1157  vector<base>::operator[](14) = a14;
1158  vector<base>::operator[](15) = a15;
1159 }
1160 template<class base>
1162  const base& a0,
1163  const base& a1,
1164  const base& a2,
1165  const base& a3,
1166  const base& a4,
1167  const base& a5,
1168  const base& a6,
1169  const base& a7,
1170  const base& a8,
1171  const base& a9,
1172  const base& a10,
1173  const base& a11,
1174  const base& a12,
1175  const base& a13,
1176  const base& a14,
1177  const base& a15,
1178  const base& a16
1179  ) : Array<base>(17)
1180 {
1181  vector<base>::operator[](0) = a0;
1182  vector<base>::operator[](1) = a1;
1183  vector<base>::operator[](2) = a2;
1184  vector<base>::operator[](3) = a3;
1185  vector<base>::operator[](4) = a4;
1186  vector<base>::operator[](5) = a5;
1187  vector<base>::operator[](6) = a6;
1188  vector<base>::operator[](7) = a7;
1189  vector<base>::operator[](8) = a8;
1190  vector<base>::operator[](9) = a9;
1191  vector<base>::operator[](10) = a10;
1192  vector<base>::operator[](11) = a11;
1193  vector<base>::operator[](12) = a12;
1194  vector<base>::operator[](13) = a13;
1195  vector<base>::operator[](14) = a14;
1196  vector<base>::operator[](15) = a15;
1197  vector<base>::operator[](16) = a16;
1198 }
1199 template<class base>
1201  const base& a0,
1202  const base& a1,
1203  const base& a2,
1204  const base& a3,
1205  const base& a4,
1206  const base& a5,
1207  const base& a6,
1208  const base& a7,
1209  const base& a8,
1210  const base& a9,
1211  const base& a10,
1212  const base& a11,
1213  const base& a12,
1214  const base& a13,
1215  const base& a14,
1216  const base& a15,
1217  const base& a16,
1218  const base& a17
1219  ) : Array<base>(18)
1220 {
1221  vector<base>::operator[](0) = a0;
1222  vector<base>::operator[](1) = a1;
1223  vector<base>::operator[](2) = a2;
1224  vector<base>::operator[](3) = a3;
1225  vector<base>::operator[](4) = a4;
1226  vector<base>::operator[](5) = a5;
1227  vector<base>::operator[](6) = a6;
1228  vector<base>::operator[](7) = a7;
1229  vector<base>::operator[](8) = a8;
1230  vector<base>::operator[](9) = a9;
1231  vector<base>::operator[](10) = a10;
1232  vector<base>::operator[](11) = a11;
1233  vector<base>::operator[](12) = a12;
1234  vector<base>::operator[](13) = a13;
1235  vector<base>::operator[](14) = a14;
1236  vector<base>::operator[](15) = a15;
1237  vector<base>::operator[](16) = a16;
1238  vector<base>::operator[](17) = a17;
1239 }
1240 template<class base>
1242  const base& a0,
1243  const base& a1,
1244  const base& a2,
1245  const base& a3,
1246  const base& a4,
1247  const base& a5,
1248  const base& a6,
1249  const base& a7,
1250  const base& a8,
1251  const base& a9,
1252  const base& a10,
1253  const base& a11,
1254  const base& a12,
1255  const base& a13,
1256  const base& a14,
1257  const base& a15,
1258  const base& a16,
1259  const base& a17,
1260  const base& a18
1261  ) : Array<base>(19)
1262 {
1263  vector<base>::operator[](0) = a0;
1264  vector<base>::operator[](1) = a1;
1265  vector<base>::operator[](2) = a2;
1266  vector<base>::operator[](3) = a3;
1267  vector<base>::operator[](4) = a4;
1268  vector<base>::operator[](5) = a5;
1269  vector<base>::operator[](6) = a6;
1270  vector<base>::operator[](7) = a7;
1271  vector<base>::operator[](8) = a8;
1272  vector<base>::operator[](9) = a9;
1273  vector<base>::operator[](10) = a10;
1274  vector<base>::operator[](11) = a11;
1275  vector<base>::operator[](12) = a12;
1276  vector<base>::operator[](13) = a13;
1277  vector<base>::operator[](14) = a14;
1278  vector<base>::operator[](15) = a15;
1279  vector<base>::operator[](16) = a16;
1280  vector<base>::operator[](17) = a17;
1281  vector<base>::operator[](18) = a18;
1282 }
1283 template<class base>
1285  const base& a0,
1286  const base& a1,
1287  const base& a2,
1288  const base& a3,
1289  const base& a4,
1290  const base& a5,
1291  const base& a6,
1292  const base& a7,
1293  const base& a8,
1294  const base& a9,
1295  const base& a10,
1296  const base& a11,
1297  const base& a12,
1298  const base& a13,
1299  const base& a14,
1300  const base& a15,
1301  const base& a16,
1302  const base& a17,
1303  const base& a18,
1304  const base& a19
1305  ) : Array<base>(20)
1306 {
1307  vector<base>::operator[](0) = a0;
1308  vector<base>::operator[](1) = a1;
1309  vector<base>::operator[](2) = a2;
1310  vector<base>::operator[](3) = a3;
1311  vector<base>::operator[](4) = a4;
1312  vector<base>::operator[](5) = a5;
1313  vector<base>::operator[](6) = a6;
1314  vector<base>::operator[](7) = a7;
1315  vector<base>::operator[](8) = a8;
1316  vector<base>::operator[](9) = a9;
1317  vector<base>::operator[](10) = a10;
1318  vector<base>::operator[](11) = a11;
1319  vector<base>::operator[](12) = a12;
1320  vector<base>::operator[](13) = a13;
1321  vector<base>::operator[](14) = a14;
1322  vector<base>::operator[](15) = a15;
1323  vector<base>::operator[](16) = a16;
1324  vector<base>::operator[](17) = a17;
1325  vector<base>::operator[](18) = a18;
1326  vector<base>::operator[](19) = a19;
1327 }
1328 template<class base>
1330  const base& a0,
1331  const base& a1,
1332  const base& a2,
1333  const base& a3,
1334  const base& a4,
1335  const base& a5,
1336  const base& a6,
1337  const base& a7,
1338  const base& a8,
1339  const base& a9,
1340  const base& a10,
1341  const base& a11,
1342  const base& a12,
1343  const base& a13,
1344  const base& a14,
1345  const base& a15,
1346  const base& a16,
1347  const base& a17,
1348  const base& a18,
1349  const base& a19,
1350  const base& a20
1351  ) : Array<base>(21)
1352 {
1353  vector<base>::operator[](0) = a0;
1354  vector<base>::operator[](1) = a1;
1355  vector<base>::operator[](2) = a2;
1356  vector<base>::operator[](3) = a3;
1357  vector<base>::operator[](4) = a4;
1358  vector<base>::operator[](5) = a5;
1359  vector<base>::operator[](6) = a6;
1360  vector<base>::operator[](7) = a7;
1361  vector<base>::operator[](8) = a8;
1362  vector<base>::operator[](9) = a9;
1363  vector<base>::operator[](10) = a10;
1364  vector<base>::operator[](11) = a11;
1365  vector<base>::operator[](12) = a12;
1366  vector<base>::operator[](13) = a13;
1367  vector<base>::operator[](14) = a14;
1368  vector<base>::operator[](15) = a15;
1369  vector<base>::operator[](16) = a16;
1370  vector<base>::operator[](17) = a17;
1371  vector<base>::operator[](18) = a18;
1372  vector<base>::operator[](19) = a19;
1373  vector<base>::operator[](20) = a20;
1374 }
1375 template<class base>
1377  const base& a0,
1378  const base& a1,
1379  const base& a2,
1380  const base& a3,
1381  const base& a4,
1382  const base& a5,
1383  const base& a6,
1384  const base& a7,
1385  const base& a8,
1386  const base& a9,
1387  const base& a10,
1388  const base& a11,
1389  const base& a12,
1390  const base& a13,
1391  const base& a14,
1392  const base& a15,
1393  const base& a16,
1394  const base& a17,
1395  const base& a18,
1396  const base& a19,
1397  const base& a20,
1398  const base& a21
1399  ) : Array<base>(22)
1400 {
1401  vector<base>::operator[](0) = a0;
1402  vector<base>::operator[](1) = a1;
1403  vector<base>::operator[](2) = a2;
1404  vector<base>::operator[](3) = a3;
1405  vector<base>::operator[](4) = a4;
1406  vector<base>::operator[](5) = a5;
1407  vector<base>::operator[](6) = a6;
1408  vector<base>::operator[](7) = a7;
1409  vector<base>::operator[](8) = a8;
1410  vector<base>::operator[](9) = a9;
1411  vector<base>::operator[](10) = a10;
1412  vector<base>::operator[](11) = a11;
1413  vector<base>::operator[](12) = a12;
1414  vector<base>::operator[](13) = a13;
1415  vector<base>::operator[](14) = a14;
1416  vector<base>::operator[](15) = a15;
1417  vector<base>::operator[](16) = a16;
1418  vector<base>::operator[](17) = a17;
1419  vector<base>::operator[](18) = a18;
1420  vector<base>::operator[](19) = a19;
1421  vector<base>::operator[](20) = a20;
1422  vector<base>::operator[](21) = a21;
1423 }
1424 template<class base>
1426  const base& a0,
1427  const base& a1,
1428  const base& a2,
1429  const base& a3,
1430  const base& a4,
1431  const base& a5,
1432  const base& a6,
1433  const base& a7,
1434  const base& a8,
1435  const base& a9,
1436  const base& a10,
1437  const base& a11,
1438  const base& a12,
1439  const base& a13,
1440  const base& a14,
1441  const base& a15,
1442  const base& a16,
1443  const base& a17,
1444  const base& a18,
1445  const base& a19,
1446  const base& a20,
1447  const base& a21,
1448  const base& a22
1449  ) : Array<base>(23)
1450 {
1451  vector<base>::operator[](0) = a0;
1452  vector<base>::operator[](1) = a1;
1453  vector<base>::operator[](2) = a2;
1454  vector<base>::operator[](3) = a3;
1455  vector<base>::operator[](4) = a4;
1456  vector<base>::operator[](5) = a5;
1457  vector<base>::operator[](6) = a6;
1458  vector<base>::operator[](7) = a7;
1459  vector<base>::operator[](8) = a8;
1460  vector<base>::operator[](9) = a9;
1461  vector<base>::operator[](10) = a10;
1462  vector<base>::operator[](11) = a11;
1463  vector<base>::operator[](12) = a12;
1464  vector<base>::operator[](13) = a13;
1465  vector<base>::operator[](14) = a14;
1466  vector<base>::operator[](15) = a15;
1467  vector<base>::operator[](16) = a16;
1468  vector<base>::operator[](17) = a17;
1469  vector<base>::operator[](18) = a18;
1470  vector<base>::operator[](19) = a19;
1471  vector<base>::operator[](20) = a20;
1472  vector<base>::operator[](21) = a21;
1473  vector<base>::operator[](22) = a22;
1474 }
1475 template<class base>
1477  const base& a0,
1478  const base& a1,
1479  const base& a2,
1480  const base& a3,
1481  const base& a4,
1482  const base& a5,
1483  const base& a6,
1484  const base& a7,
1485  const base& a8,
1486  const base& a9,
1487  const base& a10,
1488  const base& a11,
1489  const base& a12,
1490  const base& a13,
1491  const base& a14,
1492  const base& a15,
1493  const base& a16,
1494  const base& a17,
1495  const base& a18,
1496  const base& a19,
1497  const base& a20,
1498  const base& a21,
1499  const base& a22,
1500  const base& a23
1501  ) : Array<base>(24)
1502 {
1503  vector<base>::operator[](0) = a0;
1504  vector<base>::operator[](1) = a1;
1505  vector<base>::operator[](2) = a2;
1506  vector<base>::operator[](3) = a3;
1507  vector<base>::operator[](4) = a4;
1508  vector<base>::operator[](5) = a5;
1509  vector<base>::operator[](6) = a6;
1510  vector<base>::operator[](7) = a7;
1511  vector<base>::operator[](8) = a8;
1512  vector<base>::operator[](9) = a9;
1513  vector<base>::operator[](10) = a10;
1514  vector<base>::operator[](11) = a11;
1515  vector<base>::operator[](12) = a12;
1516  vector<base>::operator[](13) = a13;
1517  vector<base>::operator[](14) = a14;
1518  vector<base>::operator[](15) = a15;
1519  vector<base>::operator[](16) = a16;
1520  vector<base>::operator[](17) = a17;
1521  vector<base>::operator[](18) = a18;
1522  vector<base>::operator[](19) = a19;
1523  vector<base>::operator[](20) = a20;
1524  vector<base>::operator[](21) = a21;
1525  vector<base>::operator[](22) = a22;
1526  vector<base>::operator[](23) = a23;
1527 }
1528 template<class base>
1530  const base& a0,
1531  const base& a1,
1532  const base& a2,
1533  const base& a3,
1534  const base& a4,
1535  const base& a5,
1536  const base& a6,
1537  const base& a7,
1538  const base& a8,
1539  const base& a9,
1540  const base& a10,
1541  const base& a11,
1542  const base& a12,
1543  const base& a13,
1544  const base& a14,
1545  const base& a15,
1546  const base& a16,
1547  const base& a17,
1548  const base& a18,
1549  const base& a19,
1550  const base& a20,
1551  const base& a21,
1552  const base& a22,
1553  const base& a23,
1554  const base& a24
1555  ) : Array<base>(25)
1556 {
1557  vector<base>::operator[](0) = a0;
1558  vector<base>::operator[](1) = a1;
1559  vector<base>::operator[](2) = a2;
1560  vector<base>::operator[](3) = a3;
1561  vector<base>::operator[](4) = a4;
1562  vector<base>::operator[](5) = a5;
1563  vector<base>::operator[](6) = a6;
1564  vector<base>::operator[](7) = a7;
1565  vector<base>::operator[](8) = a8;
1566  vector<base>::operator[](9) = a9;
1567  vector<base>::operator[](10) = a10;
1568  vector<base>::operator[](11) = a11;
1569  vector<base>::operator[](12) = a12;
1570  vector<base>::operator[](13) = a13;
1571  vector<base>::operator[](14) = a14;
1572  vector<base>::operator[](15) = a15;
1573  vector<base>::operator[](16) = a16;
1574  vector<base>::operator[](17) = a17;
1575  vector<base>::operator[](18) = a18;
1576  vector<base>::operator[](19) = a19;
1577  vector<base>::operator[](20) = a20;
1578  vector<base>::operator[](21) = a21;
1579  vector<base>::operator[](22) = a22;
1580  vector<base>::operator[](23) = a23;
1581  vector<base>::operator[](24) = a24;
1582 }
1583 template<class base>
1585  const base& a0,
1586  const base& a1,
1587  const base& a2,
1588  const base& a3,
1589  const base& a4,
1590  const base& a5,
1591  const base& a6,
1592  const base& a7,
1593  const base& a8,
1594  const base& a9,
1595  const base& a10,
1596  const base& a11,
1597  const base& a12,
1598  const base& a13,
1599  const base& a14,
1600  const base& a15,
1601  const base& a16,
1602  const base& a17,
1603  const base& a18,
1604  const base& a19,
1605  const base& a20,
1606  const base& a21,
1607  const base& a22,
1608  const base& a23,
1609  const base& a24,
1610  const base& a25
1611  ) : Array<base>(26)
1612 {
1613  vector<base>::operator[](0) = a0;
1614  vector<base>::operator[](1) = a1;
1615  vector<base>::operator[](2) = a2;
1616  vector<base>::operator[](3) = a3;
1617  vector<base>::operator[](4) = a4;
1618  vector<base>::operator[](5) = a5;
1619  vector<base>::operator[](6) = a6;
1620  vector<base>::operator[](7) = a7;
1621  vector<base>::operator[](8) = a8;
1622  vector<base>::operator[](9) = a9;
1623  vector<base>::operator[](10) = a10;
1624  vector<base>::operator[](11) = a11;
1625  vector<base>::operator[](12) = a12;
1626  vector<base>::operator[](13) = a13;
1627  vector<base>::operator[](14) = a14;
1628  vector<base>::operator[](15) = a15;
1629  vector<base>::operator[](16) = a16;
1630  vector<base>::operator[](17) = a17;
1631  vector<base>::operator[](18) = a18;
1632  vector<base>::operator[](19) = a19;
1633  vector<base>::operator[](20) = a20;
1634  vector<base>::operator[](21) = a21;
1635  vector<base>::operator[](22) = a22;
1636  vector<base>::operator[](23) = a23;
1637  vector<base>::operator[](24) = a24;
1638  vector<base>::operator[](25) = a25;
1639 }
1640 template<class base>
1642  const base& a0,
1643  const base& a1,
1644  const base& a2,
1645  const base& a3,
1646  const base& a4,
1647  const base& a5,
1648  const base& a6,
1649  const base& a7,
1650  const base& a8,
1651  const base& a9,
1652  const base& a10,
1653  const base& a11,
1654  const base& a12,
1655  const base& a13,
1656  const base& a14,
1657  const base& a15,
1658  const base& a16,
1659  const base& a17,
1660  const base& a18,
1661  const base& a19,
1662  const base& a20,
1663  const base& a21,
1664  const base& a22,
1665  const base& a23,
1666  const base& a24,
1667  const base& a25,
1668  const base& a26
1669  ) : Array<base>(27)
1670 {
1671  vector<base>::operator[](0) = a0;
1672  vector<base>::operator[](1) = a1;
1673  vector<base>::operator[](2) = a2;
1674  vector<base>::operator[](3) = a3;
1675  vector<base>::operator[](4) = a4;
1676  vector<base>::operator[](5) = a5;
1677  vector<base>::operator[](6) = a6;
1678  vector<base>::operator[](7) = a7;
1679  vector<base>::operator[](8) = a8;
1680  vector<base>::operator[](9) = a9;
1681  vector<base>::operator[](10) = a10;
1682  vector<base>::operator[](11) = a11;
1683  vector<base>::operator[](12) = a12;
1684  vector<base>::operator[](13) = a13;
1685  vector<base>::operator[](14) = a14;
1686  vector<base>::operator[](15) = a15;
1687  vector<base>::operator[](16) = a16;
1688  vector<base>::operator[](17) = a17;
1689  vector<base>::operator[](18) = a18;
1690  vector<base>::operator[](19) = a19;
1691  vector<base>::operator[](20) = a20;
1692  vector<base>::operator[](21) = a21;
1693  vector<base>::operator[](22) = a22;
1694  vector<base>::operator[](23) = a23;
1695  vector<base>::operator[](24) = a24;
1696  vector<base>::operator[](25) = a25;
1697  vector<base>::operator[](26) = a26;
1698 }
1699 template<class base>
1701  const base& a0,
1702  const base& a1,
1703  const base& a2,
1704  const base& a3,
1705  const base& a4,
1706  const base& a5,
1707  const base& a6,
1708  const base& a7,
1709  const base& a8,
1710  const base& a9,
1711  const base& a10,
1712  const base& a11,
1713  const base& a12,
1714  const base& a13,
1715  const base& a14,
1716  const base& a15,
1717  const base& a16,
1718  const base& a17,
1719  const base& a18,
1720  const base& a19,
1721  const base& a20,
1722  const base& a21,
1723  const base& a22,
1724  const base& a23,
1725  const base& a24,
1726  const base& a25,
1727  const base& a26,
1728  const base& a27
1729  ) : Array<base>(28)
1730 {
1731  vector<base>::operator[](0) = a0;
1732  vector<base>::operator[](1) = a1;
1733  vector<base>::operator[](2) = a2;
1734  vector<base>::operator[](3) = a3;
1735  vector<base>::operator[](4) = a4;
1736  vector<base>::operator[](5) = a5;
1737  vector<base>::operator[](6) = a6;
1738  vector<base>::operator[](7) = a7;
1739  vector<base>::operator[](8) = a8;
1740  vector<base>::operator[](9) = a9;
1741  vector<base>::operator[](10) = a10;
1742  vector<base>::operator[](11) = a11;
1743  vector<base>::operator[](12) = a12;
1744  vector<base>::operator[](13) = a13;
1745  vector<base>::operator[](14) = a14;
1746  vector<base>::operator[](15) = a15;
1747  vector<base>::operator[](16) = a16;
1748  vector<base>::operator[](17) = a17;
1749  vector<base>::operator[](18) = a18;
1750  vector<base>::operator[](19) = a19;
1751  vector<base>::operator[](20) = a20;
1752  vector<base>::operator[](21) = a21;
1753  vector<base>::operator[](22) = a22;
1754  vector<base>::operator[](23) = a23;
1755  vector<base>::operator[](24) = a24;
1756  vector<base>::operator[](25) = a25;
1757  vector<base>::operator[](26) = a26;
1758  vector<base>::operator[](27) = a27;
1759 }
1760 template<class base>
1762  const base& a0,
1763  const base& a1,
1764  const base& a2,
1765  const base& a3,
1766  const base& a4,
1767  const base& a5,
1768  const base& a6,
1769  const base& a7,
1770  const base& a8,
1771  const base& a9,
1772  const base& a10,
1773  const base& a11,
1774  const base& a12,
1775  const base& a13,
1776  const base& a14,
1777  const base& a15,
1778  const base& a16,
1779  const base& a17,
1780  const base& a18,
1781  const base& a19,
1782  const base& a20,
1783  const base& a21,
1784  const base& a22,
1785  const base& a23,
1786  const base& a24,
1787  const base& a25,
1788  const base& a26,
1789  const base& a27,
1790  const base& a28
1791  ) : Array<base>(29)
1792 {
1793  vector<base>::operator[](0) = a0;
1794  vector<base>::operator[](1) = a1;
1795  vector<base>::operator[](2) = a2;
1796  vector<base>::operator[](3) = a3;
1797  vector<base>::operator[](4) = a4;
1798  vector<base>::operator[](5) = a5;
1799  vector<base>::operator[](6) = a6;
1800  vector<base>::operator[](7) = a7;
1801  vector<base>::operator[](8) = a8;
1802  vector<base>::operator[](9) = a9;
1803  vector<base>::operator[](10) = a10;
1804  vector<base>::operator[](11) = a11;
1805  vector<base>::operator[](12) = a12;
1806  vector<base>::operator[](13) = a13;
1807  vector<base>::operator[](14) = a14;
1808  vector<base>::operator[](15) = a15;
1809  vector<base>::operator[](16) = a16;
1810  vector<base>::operator[](17) = a17;
1811  vector<base>::operator[](18) = a18;
1812  vector<base>::operator[](19) = a19;
1813  vector<base>::operator[](20) = a20;
1814  vector<base>::operator[](21) = a21;
1815  vector<base>::operator[](22) = a22;
1816  vector<base>::operator[](23) = a23;
1817  vector<base>::operator[](24) = a24;
1818  vector<base>::operator[](25) = a25;
1819  vector<base>::operator[](26) = a26;
1820  vector<base>::operator[](27) = a27;
1821  vector<base>::operator[](28) = a28;
1822 }
1823 template<class base>
1825  const base& a0,
1826  const base& a1,
1827  const base& a2,
1828  const base& a3,
1829  const base& a4,
1830  const base& a5,
1831  const base& a6,
1832  const base& a7,
1833  const base& a8,
1834  const base& a9,
1835  const base& a10,
1836  const base& a11,
1837  const base& a12,
1838  const base& a13,
1839  const base& a14,
1840  const base& a15,
1841  const base& a16,
1842  const base& a17,
1843  const base& a18,
1844  const base& a19,
1845  const base& a20,
1846  const base& a21,
1847  const base& a22,
1848  const base& a23,
1849  const base& a24,
1850  const base& a25,
1851  const base& a26,
1852  const base& a27,
1853  const base& a28,
1854  const base& a29
1855  ) : Array<base>(30)
1856 {
1857  vector<base>::operator[](0) = a0;
1858  vector<base>::operator[](1) = a1;
1859  vector<base>::operator[](2) = a2;
1860  vector<base>::operator[](3) = a3;
1861  vector<base>::operator[](4) = a4;
1862  vector<base>::operator[](5) = a5;
1863  vector<base>::operator[](6) = a6;
1864  vector<base>::operator[](7) = a7;
1865  vector<base>::operator[](8) = a8;
1866  vector<base>::operator[](9) = a9;
1867  vector<base>::operator[](10) = a10;
1868  vector<base>::operator[](11) = a11;
1869  vector<base>::operator[](12) = a12;
1870  vector<base>::operator[](13) = a13;
1871  vector<base>::operator[](14) = a14;
1872  vector<base>::operator[](15) = a15;
1873  vector<base>::operator[](16) = a16;
1874  vector<base>::operator[](17) = a17;
1875  vector<base>::operator[](18) = a18;
1876  vector<base>::operator[](19) = a19;
1877  vector<base>::operator[](20) = a20;
1878  vector<base>::operator[](21) = a21;
1879  vector<base>::operator[](22) = a22;
1880  vector<base>::operator[](23) = a23;
1881  vector<base>::operator[](24) = a24;
1882  vector<base>::operator[](25) = a25;
1883  vector<base>::operator[](26) = a26;
1884  vector<base>::operator[](27) = a27;
1885  vector<base>::operator[](28) = a28;
1886  vector<base>::operator[](29) = a29;
1887 }
1888 template<class base>
1890  const base& a0,
1891  const base& a1,
1892  const base& a2,
1893  const base& a3,
1894  const base& a4,
1895  const base& a5,
1896  const base& a6,
1897  const base& a7,
1898  const base& a8,
1899  const base& a9,
1900  const base& a10,
1901  const base& a11,
1902  const base& a12,
1903  const base& a13,
1904  const base& a14,
1905  const base& a15,
1906  const base& a16,
1907  const base& a17,
1908  const base& a18,
1909  const base& a19,
1910  const base& a20,
1911  const base& a21,
1912  const base& a22,
1913  const base& a23,
1914  const base& a24,
1915  const base& a25,
1916  const base& a26,
1917  const base& a27,
1918  const base& a28,
1919  const base& a29,
1920  const base& a30
1921  ) : Array<base>(31)
1922 {
1923  vector<base>::operator[](0) = a0;
1924  vector<base>::operator[](1) = a1;
1925  vector<base>::operator[](2) = a2;
1926  vector<base>::operator[](3) = a3;
1927  vector<base>::operator[](4) = a4;
1928  vector<base>::operator[](5) = a5;
1929  vector<base>::operator[](6) = a6;
1930  vector<base>::operator[](7) = a7;
1931  vector<base>::operator[](8) = a8;
1932  vector<base>::operator[](9) = a9;
1933  vector<base>::operator[](10) = a10;
1934  vector<base>::operator[](11) = a11;
1935  vector<base>::operator[](12) = a12;
1936  vector<base>::operator[](13) = a13;
1937  vector<base>::operator[](14) = a14;
1938  vector<base>::operator[](15) = a15;
1939  vector<base>::operator[](16) = a16;
1940  vector<base>::operator[](17) = a17;
1941  vector<base>::operator[](18) = a18;
1942  vector<base>::operator[](19) = a19;
1943  vector<base>::operator[](20) = a20;
1944  vector<base>::operator[](21) = a21;
1945  vector<base>::operator[](22) = a22;
1946  vector<base>::operator[](23) = a23;
1947  vector<base>::operator[](24) = a24;
1948  vector<base>::operator[](25) = a25;
1949  vector<base>::operator[](26) = a26;
1950  vector<base>::operator[](27) = a27;
1951  vector<base>::operator[](28) = a28;
1952  vector<base>::operator[](29) = a29;
1953  vector<base>::operator[](30) = a30;
1954 }
1955 template<class base>
1957  const base& a0,
1958  const base& a1,
1959  const base& a2,
1960  const base& a3,
1961  const base& a4,
1962  const base& a5,
1963  const base& a6,
1964  const base& a7,
1965  const base& a8,
1966  const base& a9,
1967  const base& a10,
1968  const base& a11,
1969  const base& a12,
1970  const base& a13,
1971  const base& a14,
1972  const base& a15,
1973  const base& a16,
1974  const base& a17,
1975  const base& a18,
1976  const base& a19,
1977  const base& a20,
1978  const base& a21,
1979  const base& a22,
1980  const base& a23,
1981  const base& a24,
1982  const base& a25,
1983  const base& a26,
1984  const base& a27,
1985  const base& a28,
1986  const base& a29,
1987  const base& a30,
1988  const base& a31
1989  ) : Array<base>(32)
1990 {
1991  vector<base>::operator[](0) = a0;
1992  vector<base>::operator[](1) = a1;
1993  vector<base>::operator[](2) = a2;
1994  vector<base>::operator[](3) = a3;
1995  vector<base>::operator[](4) = a4;
1996  vector<base>::operator[](5) = a5;
1997  vector<base>::operator[](6) = a6;
1998  vector<base>::operator[](7) = a7;
1999  vector<base>::operator[](8) = a8;
2000  vector<base>::operator[](9) = a9;
2001  vector<base>::operator[](10) = a10;
2002  vector<base>::operator[](11) = a11;
2003  vector<base>::operator[](12) = a12;
2004  vector<base>::operator[](13) = a13;
2005  vector<base>::operator[](14) = a14;
2006  vector<base>::operator[](15) = a15;
2007  vector<base>::operator[](16) = a16;
2008  vector<base>::operator[](17) = a17;
2009  vector<base>::operator[](18) = a18;
2010  vector<base>::operator[](19) = a19;
2011  vector<base>::operator[](20) = a20;
2012  vector<base>::operator[](21) = a21;
2013  vector<base>::operator[](22) = a22;
2014  vector<base>::operator[](23) = a23;
2015  vector<base>::operator[](24) = a24;
2016  vector<base>::operator[](25) = a25;
2017  vector<base>::operator[](26) = a26;
2018  vector<base>::operator[](27) = a27;
2019  vector<base>::operator[](28) = a28;
2020  vector<base>::operator[](29) = a29;
2021  vector<base>::operator[](30) = a30;
2022  vector<base>::operator[](31) = a31;
2023 }
2024 template<class base>
2026  const base& a0,
2027  const base& a1,
2028  const base& a2,
2029  const base& a3,
2030  const base& a4,
2031  const base& a5,
2032  const base& a6,
2033  const base& a7,
2034  const base& a8,
2035  const base& a9,
2036  const base& a10,
2037  const base& a11,
2038  const base& a12,
2039  const base& a13,
2040  const base& a14,
2041  const base& a15,
2042  const base& a16,
2043  const base& a17,
2044  const base& a18,
2045  const base& a19,
2046  const base& a20,
2047  const base& a21,
2048  const base& a22,
2049  const base& a23,
2050  const base& a24,
2051  const base& a25,
2052  const base& a26,
2053  const base& a27,
2054  const base& a28,
2055  const base& a29,
2056  const base& a30,
2057  const base& a31,
2058  const base& a32
2059  ) : Array<base>(33)
2060 {
2061  vector<base>::operator[](0) = a0;
2062  vector<base>::operator[](1) = a1;
2063  vector<base>::operator[](2) = a2;
2064  vector<base>::operator[](3) = a3;
2065  vector<base>::operator[](4) = a4;
2066  vector<base>::operator[](5) = a5;
2067  vector<base>::operator[](6) = a6;
2068  vector<base>::operator[](7) = a7;
2069  vector<base>::operator[](8) = a8;
2070  vector<base>::operator[](9) = a9;
2071  vector<base>::operator[](10) = a10;
2072  vector<base>::operator[](11) = a11;
2073  vector<base>::operator[](12) = a12;
2074  vector<base>::operator[](13) = a13;
2075  vector<base>::operator[](14) = a14;
2076  vector<base>::operator[](15) = a15;
2077  vector<base>::operator[](16) = a16;
2078  vector<base>::operator[](17) = a17;
2079  vector<base>::operator[](18) = a18;
2080  vector<base>::operator[](19) = a19;
2081  vector<base>::operator[](20) = a20;
2082  vector<base>::operator[](21) = a21;
2083  vector<base>::operator[](22) = a22;
2084  vector<base>::operator[](23) = a23;
2085  vector<base>::operator[](24) = a24;
2086  vector<base>::operator[](25) = a25;
2087  vector<base>::operator[](26) = a26;
2088  vector<base>::operator[](27) = a27;
2089  vector<base>::operator[](28) = a28;
2090  vector<base>::operator[](29) = a29;
2091  vector<base>::operator[](30) = a30;
2092  vector<base>::operator[](31) = a31;
2093  vector<base>::operator[](32) = a32;
2094 }
2095 template<class base>
2097  const base& a0,
2098  const base& a1,
2099  const base& a2,
2100  const base& a3,
2101  const base& a4,
2102  const base& a5,
2103  const base& a6,
2104  const base& a7,
2105  const base& a8,
2106  const base& a9,
2107  const base& a10,
2108  const base& a11,
2109  const base& a12,
2110  const base& a13,
2111  const base& a14,
2112  const base& a15,
2113  const base& a16,
2114  const base& a17,
2115  const base& a18,
2116  const base& a19,
2117  const base& a20,
2118  const base& a21,
2119  const base& a22,
2120  const base& a23,
2121  const base& a24,
2122  const base& a25,
2123  const base& a26,
2124  const base& a27,
2125  const base& a28,
2126  const base& a29,
2127  const base& a30,
2128  const base& a31,
2129  const base& a32,
2130  const base& a33
2131  ) : Array<base>(34)
2132 {
2133  vector<base>::operator[](0) = a0;
2134  vector<base>::operator[](1) = a1;
2135  vector<base>::operator[](2) = a2;
2136  vector<base>::operator[](3) = a3;
2137  vector<base>::operator[](4) = a4;
2138  vector<base>::operator[](5) = a5;
2139  vector<base>::operator[](6) = a6;
2140  vector<base>::operator[](7) = a7;
2141  vector<base>::operator[](8) = a8;
2142  vector<base>::operator[](9) = a9;
2143  vector<base>::operator[](10) = a10;
2144  vector<base>::operator[](11) = a11;
2145  vector<base>::operator[](12) = a12;
2146  vector<base>::operator[](13) = a13;
2147  vector<base>::operator[](14) = a14;
2148  vector<base>::operator[](15) = a15;
2149  vector<base>::operator[](16) = a16;
2150  vector<base>::operator[](17) = a17;
2151  vector<base>::operator[](18) = a18;
2152  vector<base>::operator[](19) = a19;
2153  vector<base>::operator[](20) = a20;
2154  vector<base>::operator[](21) = a21;
2155  vector<base>::operator[](22) = a22;
2156  vector<base>::operator[](23) = a23;
2157  vector<base>::operator[](24) = a24;
2158  vector<base>::operator[](25) = a25;
2159  vector<base>::operator[](26) = a26;
2160  vector<base>::operator[](27) = a27;
2161  vector<base>::operator[](28) = a28;
2162  vector<base>::operator[](29) = a29;
2163  vector<base>::operator[](30) = a30;
2164  vector<base>::operator[](31) = a31;
2165  vector<base>::operator[](32) = a32;
2166  vector<base>::operator[](33) = a33;
2167 }
2168 template<class base>
2170  const base& a0,
2171  const base& a1,
2172  const base& a2,
2173  const base& a3,
2174  const base& a4,
2175  const base& a5,
2176  const base& a6,
2177  const base& a7,
2178  const base& a8,
2179  const base& a9,
2180  const base& a10,
2181  const base& a11,
2182  const base& a12,
2183  const base& a13,
2184  const base& a14,
2185  const base& a15,
2186  const base& a16,
2187  const base& a17,
2188  const base& a18,
2189  const base& a19,
2190  const base& a20,
2191  const base& a21,
2192  const base& a22,
2193  const base& a23,
2194  const base& a24,
2195  const base& a25,
2196  const base& a26,
2197  const base& a27,
2198  const base& a28,
2199  const base& a29,
2200  const base& a30,
2201  const base& a31,
2202  const base& a32,
2203  const base& a33,
2204  const base& a34
2205  ) : Array<base>(35)
2206 {
2207  vector<base>::operator[](0) = a0;
2208  vector<base>::operator[](1) = a1;
2209  vector<base>::operator[](2) = a2;
2210  vector<base>::operator[](3) = a3;
2211  vector<base>::operator[](4) = a4;
2212  vector<base>::operator[](5) = a5;
2213  vector<base>::operator[](6) = a6;
2214  vector<base>::operator[](7) = a7;
2215  vector<base>::operator[](8) = a8;
2216  vector<base>::operator[](9) = a9;
2217  vector<base>::operator[](10) = a10;
2218  vector<base>::operator[](11) = a11;
2219  vector<base>::operator[](12) = a12;
2220  vector<base>::operator[](13) = a13;
2221  vector<base>::operator[](14) = a14;
2222  vector<base>::operator[](15) = a15;
2223  vector<base>::operator[](16) = a16;
2224  vector<base>::operator[](17) = a17;
2225  vector<base>::operator[](18) = a18;
2226  vector<base>::operator[](19) = a19;
2227  vector<base>::operator[](20) = a20;
2228  vector<base>::operator[](21) = a21;
2229  vector<base>::operator[](22) = a22;
2230  vector<base>::operator[](23) = a23;
2231  vector<base>::operator[](24) = a24;
2232  vector<base>::operator[](25) = a25;
2233  vector<base>::operator[](26) = a26;
2234  vector<base>::operator[](27) = a27;
2235  vector<base>::operator[](28) = a28;
2236  vector<base>::operator[](29) = a29;
2237  vector<base>::operator[](30) = a30;
2238  vector<base>::operator[](31) = a31;
2239  vector<base>::operator[](32) = a32;
2240  vector<base>::operator[](33) = a33;
2241  vector<base>::operator[](34) = a34;
2242 }
2243 template<class base>
2245  const base& a0,
2246  const base& a1,
2247  const base& a2,
2248  const base& a3,
2249  const base& a4,
2250  const base& a5,
2251  const base& a6,
2252  const base& a7,
2253  const base& a8,
2254  const base& a9,
2255  const base& a10,
2256  const base& a11,
2257  const base& a12,
2258  const base& a13,
2259  const base& a14,
2260  const base& a15,
2261  const base& a16,
2262  const base& a17,
2263  const base& a18,
2264  const base& a19,
2265  const base& a20,
2266  const base& a21,
2267  const base& a22,
2268  const base& a23,
2269  const base& a24,
2270  const base& a25,
2271  const base& a26,
2272  const base& a27,
2273  const base& a28,
2274  const base& a29,
2275  const base& a30,
2276  const base& a31,
2277  const base& a32,
2278  const base& a33,
2279  const base& a34,
2280  const base& a35
2281  ) : Array<base>(36)
2282 {
2283  vector<base>::operator[](0) = a0;
2284  vector<base>::operator[](1) = a1;
2285  vector<base>::operator[](2) = a2;
2286  vector<base>::operator[](3) = a3;
2287  vector<base>::operator[](4) = a4;
2288  vector<base>::operator[](5) = a5;
2289  vector<base>::operator[](6) = a6;
2290  vector<base>::operator[](7) = a7;
2291  vector<base>::operator[](8) = a8;
2292  vector<base>::operator[](9) = a9;
2293  vector<base>::operator[](10) = a10;
2294  vector<base>::operator[](11) = a11;
2295  vector<base>::operator[](12) = a12;
2296  vector<base>::operator[](13) = a13;
2297  vector<base>::operator[](14) = a14;
2298  vector<base>::operator[](15) = a15;
2299  vector<base>::operator[](16) = a16;
2300  vector<base>::operator[](17) = a17;
2301  vector<base>::operator[](18) = a18;
2302  vector<base>::operator[](19) = a19;
2303  vector<base>::operator[](20) = a20;
2304  vector<base>::operator[](21) = a21;
2305  vector<base>::operator[](22) = a22;
2306  vector<base>::operator[](23) = a23;
2307  vector<base>::operator[](24) = a24;
2308  vector<base>::operator[](25) = a25;
2309  vector<base>::operator[](26) = a26;
2310  vector<base>::operator[](27) = a27;
2311  vector<base>::operator[](28) = a28;
2312  vector<base>::operator[](29) = a29;
2313  vector<base>::operator[](30) = a30;
2314  vector<base>::operator[](31) = a31;
2315  vector<base>::operator[](32) = a32;
2316  vector<base>::operator[](33) = a33;
2317  vector<base>::operator[](34) = a34;
2318  vector<base>::operator[](35) = a35;
2319 }
2320 
2321 
2322 
2323 #endif // make_array_h
array.h
This file contains the definition of Array.
Array
This can be used to make arrays out of anything.
Definition: array.h:103
MakeArray::MakeArray
MakeArray()
Definition: make_array.h:800
MakeArray
Explicit construction of Arrays.
Definition: make_array.h:52