Subject: [Boost-bugs] [Boost C++ Libraries] #9015: Ptree method get
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-08-19 13:24:25
#9015: Ptree method get
------------------------------+---------------------------
Reporter: anonymous | Owner: cornedbee
Type: Bugs | Status: new
Milestone: To Be Determined | Component: property_tree
Version: Boost 1.54.0 | Severity: Optimization
Keywords: |
------------------------------+---------------------------
When using the method "..get" on a Ptree it is possible to retrieve the
value of the key. When the key doesn't exits, the default value is used.
Then the proper way should be that the default value will be added to the
ptree. I don't know how other people think about it? Now you have to add
another line to add it to the ptree. Maybe It can with a overloaded
function, which has the option to add it to the ptree.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9015> 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:13 UTC