Re: [Boost-bugs] [Boost C++ Libraries] #4786: custom property_tree

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4786: custom property_tree
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-04-26 07:45:22


#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):

 a few more notes regarding your example.
 util::detail::variant_translator::get_value seems to lack support for
 converting the internal value to std::string (except for the case when its
 type is also std::string). and if you pass std::string to
 util::detail::variant_translator::put_value, it looks like it will just
 replace the internal value with the supplied string, changing its type to
 std::string, not converting the string to the current internal type. maybe
 it's better to add util::detail::variant_translator<std::string>
 specialization to improve this. correct me if I've missed anything. :)

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4786#comment:13>
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