c++ - boost::program_options: parsing multi-valued options in ini-files in a single name-value pair -


if specify

ip_addresses=monkeys ip_addresses=baboons 

parse_config_file creates multiple strings resulting in std::vector< std::string> output.

i want list multiple strings on single line.

ip_addresses=monkeys, baboons

the result single string in std::vector< <std::string> >. if possible, how 1 express seperator ?

the documentation not specify if string seperation allowed in ini-files. however, multi-valued settings can seperated when supplied command line switches.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -