Subject: [Boost-bugs] [Boost C++ Libraries] #7933: Enable population of a map with options described using "*" wildcard
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-01-27 15:56:56
#7933: Enable population of a map with options described using "*" wildcard
------------------------------+---------------------------------------------
Reporter: smntov@⦠| Owner: vladimir_prus
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: program_options
Version: Boost 1.52.0 | Severity: Problem
Keywords: |
------------------------------+---------------------------------------------
Enable population of a map with options described using "*" wildcard.
map<string, int> itemsMap;
options_description items("items options");
items.add_options()
("item_*",value<map<string, int>>(&itemsMap)->multitoken(),
"items")
;
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7933> 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:50:11 UTC