[Boost-bugs] [Boost C++ Libraries] #8804: Documentation of boost::property_tree::ptree::get_child_optional() is wrong

Subject: [Boost-bugs] [Boost C++ Libraries] #8804: Documentation of boost::property_tree::ptree::get_child_optional() is wrong
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-07-09 14:10:35


#8804: Documentation of boost::property_tree::ptree::get_child_optional() is wrong
------------------------------------------------+--------------------------
 Reporter: Wolf A. Heidrich <wolf.heidrich@…> | Owner: cornedbee
     Type: Tasks | Status: new
Milestone: To Be Determined | Component:
  Version: Boost Development Trunk | property_tree
 Keywords: | Severity: Cosmetic
------------------------------------------------+--------------------------
 The documentation of boost::property_tree::ptree::get_child_optional()
 states "Get the child at the given path, or return boost::null.".

 However, optional<self_type&>() is returned instead of boost::null.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8804>
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