Example program to test JLANG::JTypeList class.
More...
#include <iostream>
#include <iomanip>
#include <typeinfo>
#include "JLang/JType.hh"
#include "JLang/JTypeList.hh"
#include "JLang/JConversion.hh"
#include "Jeep/JParser.hh"
#include "Jeep/JMessage.hh"
Go to the source code of this file.
|
int | main (int argc, char **argv) |
|
Example program to test JLANG::JTypeList class.
- Author
- mdejong
Definition in file JTypeList.cc.
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 53 of file JTypeList.cc.
61 JParser<> zap(
"Example program to test type lists.");
67 catch(
const exception &error) {
68 FATAL(error.what() << endl);
74 short>::typelist removal;
80 double>::typelist typelist;
85 cout << setw(N) << left <<
"removal list" <<
JType<removal> () << endl;
Utility class to parse command line options.
Template class test for polymorphism.
Auxiliary class for a type holder.
Auxiliary class for recursive type list generation.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Indexing of data type in type list.