Opened 4 years ago

#13631 new Feature Requests

Need for boost::property_tree:ptree::range_type

Reported by: dmilos@… Owned by: Sebastian Redl
Milestone: To Be Determined Component: property_tree
Version: Boost 1.67.0 Severity: Problem
Keywords: property_tre ptree range_type Cc:

Description

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 );
    }

Change History (0)

Note: See TracTickets for help on using tickets.