예제 #1
0
 virtual void failure(CmdLineInterface& c, ArgException& e)
 {
     static_cast<void>(c); // Ignore input, don't warn
     cerr << "my failure message: " << endl
          << e.what() << endl;
     exit(1);
 }
예제 #2
0
파일: test4.cpp 프로젝트: cerdman/bbrbmr
		virtual void failure(CmdLineInterface& c, ArgException& e)
		{
			cerr << "my failure message: " << endl
			     << e.what() << endl; 
		}