|
Boost Users : |
Subject: [Boost-users] [program options] option_description name as string
From: Anthony Foglia (AFoglia_at_[hidden])
Date: 2010-04-22 12:13:24
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.
-- Anthony Foglia Princeton Consultants (609) 987-8787 x233
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net