Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4786: custom property_tree
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-03-21 10:07:50
#4786: custom property_tree
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: cornedbee
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: property_tree
Version: Boost 1.44.0 | Severity: Problem
Resolution: | Keywords: property_tree
-------------------------------+--------------------------------------------
Comment (by anonymous):
that last idea of guessing the type by its looks sounds dangerous to me.
it may prove even worse than the try/catch/lexical_cast cascade. it's
better to provide a way to supply some "schema" to the parser so he would
know each property's type. explicit is better than implicit, as they say.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4786#comment:7> 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:09 UTC