As per example test4.exe I wanted to replace the help
string output for a Cmdline object. The
TCLAP::CmdLine::_output variable is set in the
constructor for the Cmdline object. It then goes off and
registers the Stdoutput created in the constructor
rather than my derived Stdoutput object. The
setOutput function call allows you to set the _output
variable, but this can only be done after the call to the
constructor that registers the help message.
Log in to post a comment.