How to reassemble command line string using Boost Program Options?

  boost-program-options, c++
  • I parsed command line using Boost Program Options as usual. po::command_line_parser populated po::variables_map vm.

  • I changed some values in po::variables_map like this:

    vm.at(option).value() = val;

  • Now I need to reassemble modified command line string from po::variables_map. How to do this?

Source: Windows Questions C++

LEAVE A COMMENT