#include "Jeep/JParser.hh" int main(int argc, char**argv) { using namespace std; JPARSER::JCounter counter; JArgs args; JParser<> z; try { z['c'] = make_field(counter); args = z(argc, argv); } catch(const exception &error) { cerr << error.what() << endl; return 2; } cout << "counter: " << counter << endl; cout << args << endl; }