c++ - Get pointer to argv element Boost Program Options -
i'm making assumption array of strings passed main function argv
in void main( int argc, char* argv[] )
remains in scope duration of application.
my question therefore whether possible, using boost::program_options pointer actual element in argv represents particular option.
that is, rather allocating std::string
when parsing, possible pointer start of string option value.
Comments
Post a Comment