Subject: [Boost-bugs] [Boost C++ Libraries] #13631: Need for boost::property_tree:ptree::range_type
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-07-09 09:51:56
#13631: Need for boost::property_tree:ptree::range_type
-------------------------------------------+----------------------------
Reporter: dmilos@⦠| Owner: Sebastian Redl
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: property_tree
Version: Boost 1.67.0 | Severity: Problem
Keywords: property_tre ptree range_type |
-------------------------------------------+----------------------------
{{{
Examples
Without:
void my_function
(
boost::property_tree:ptree &p
, std::pair< Here goes long story about I don't know what. Shoud I
use asoc_iter or cons_assoc or decltyp and How. Blah, blah. Help! Help! >
&r
, std::string const & name
)
{
r = p.equal_range( name );
}
With:
void my_function
(
boost::property_tree:ptree const&p
, boost::property_tree:ptree::range_const_type &r
, std::string const & name
)
{
r = p.equal_range( name );
}
}}}
-- Ticket URL: <https://svn.boost.org/trac10/ticket/13631> 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 : 2018-07-09 09:57:03 UTC