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

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -