Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2782: boost::program_options::notify crashes when variables_map contains user inserted values
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-02-20 10:02:43
#2782: boost::program_options::notify crashes when variables_map contains user
inserted values
-------------------------------+--------------------------------------------
Reporter: boost_at_[hidden] | Owner: vladimir_prus
Type: Bugs | Status: new
Milestone: Boost 1.39.0 | Component: program_options
Version: Boost 1.38.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------------------------
Comment(by anonymous):
Here is a use case that arises from modular multi-component options
processing: a variables_map is passed to the init functions of components,
where their options are parsed. Sometimes, I want to set some property
values after parsing in one component and then the variables_map is passed
to another component for further processing with its own set options. This
currently doesn't work due to the notify crash.
My current workaround is don't call notify ever and missing out 2 nice
features (setting a variable via typed_value and of course notifier
itself.)
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2782#comment:3> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:59 UTC