
22 Apr
2010
22 Apr
'10
8:10 p.m.
"Anthony Foglia"
We tend to store the names of our options in strings (so we can reuse them later when getting the values out of the variable map). But option_descriptions can only be created from const char *, so we need to add a .c_str() when building the options_description.
Is there any reason why options can't be constructed with a string? Otherwise I'll open a feature request bug.
This did come up recently on the dev list. FWIW, here's the thread: http://lists.boost.org/Archives/boost/2010/03/162646.php