|
Boost Users : |
From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2007-04-24 08:46:56
On Tue, April 24, 2007 13:09, Romulus wrote:
>>> Hi everybody,
>
> [...]
>
>>> Here is the error message:
>>> option_groups.cpp: In function 'int main(int, char**)':
>>> option_groups.cpp:42: error: 'class
>>> boost::program_options::typed_value<std::basic_string<char,
>>> std::char_traits<char>, std::allocator<char> >, char>' has no member
> named
>>> 'implicit'
>
[...]
> The problem occurs with the sample file (attached) :
> /usr/share/doc/libboost-doc/examples/libs/program_options/example/option_groups.cpp
>
> Regards
Looks like this member no longer exists. There is a private bool member variable m_implicit in the
class, but the class has nether friends nor any members which reference it. Eather you should
create only value<std::string>() (you may use the default value as well:
value<std::string>()->default_value("something here")) or skip this value type creation anyway.
Maybe Vladimir can clarify this issue better.
With Kind Regards,
Ovanes Markarian
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