#include #include "Jeep/JParser.hh" int main(int argc, char**argv) { using namespace std; vector values; for (int i = 0; i != 5; ++i) { values.push_back(i); } int aap; int noot; string mies; JParser<> z; try { z['a'] = make_field(aap) = 1, 2, 3, 4; z['n'] = make_field(noot) = values; z['m'] = make_field(mies, "this is extra information") = "hello world"; z(argc, argv); } catch(const exception &error) { cerr << error.what() << endl; return 2; } cout << z; }