Compounds | |
| struct | heterogeneous_list::END |
| struct | heterogeneous_list::BEGIN |
| Begin of list marker. See heterogeneous_list. More... | |
| class | heterogeneous_list::List |
| Compile-time list of heterogeneous types. See heterogeneous_list. More... | |
| class | heterogeneous_list::List< END, END > |
Functions | |
| template<class T, class T2, class TAIL> List< T, List< T2, TAIL > > | operator, (List< T2, TAIL > tail, T const &t) |
| template<class T> List< T, List< END, END > > | operator, (BEGIN b, T const &t) |
The class template implements a compile-time definable list of different types, which can be defined conveniently using operator,:
T1 t1; T2 t2, T3 t3;
template<class LIST> void F(LIST l);
F(Begin, t1, t2, t3);
This is still experimental!
It is used for creating GMV output with an arbitrary number of grid functions of diverse types via the OstreamGMV2DFmt and OstreamGMV3DFmt I/O adapter. An example is found in test-gmv-output2d.C and test-gmv-output.C
|
||||||||||||||||
|
Definition at line 66 of file heterogeneous-list.h. |
|
||||||||||||||||
|
Definition at line 70 of file heterogeneous-list.h. |
1.2.11-20011104 written by Dimitri van Heesch,
© 1997-2000