Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4943

C/C++ • Re: boost program options c++ question

$
0
0
Boost like the std library is very flexible the only trouble is the documentation is not very complete.
What I found while testing the values in the {} are the default values used and the string in “” is what is output as part the help dump “std::cout << boost::program_options::options_description;” – the default arg to print for this option.

My next problem is how to get the default value/values in the vector when values are given on the command line so that can be used in the parsing of the value/values given on the command line in the case of multitoken options?

Statistics: Posted by wkeeling — Mon Jul 29, 2024 8:17 pm



Viewing all articles
Browse latest Browse all 4943

Trending Articles