Boost C++ Libraries: Ticket #8804: Documentation of boost::property_tree::ptree::get_child_optional() is wrong https://svn.boost.org/trac10/ticket/8804 <p> The documentation of boost::property_tree::ptree::get_child_optional() states "Get the child at the given path, or return boost::null.". </p> <p> However, optional&lt;self_type&amp;&gt;() is returned instead of boost::null. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8804 Trac 1.4.3 Sebastian Redl Tue, 09 Jul 2013 23:10:43 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/8804#comment:1 https://svn.boost.org/trac10/ticket/8804#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">invalid</span> </li> </ul> <p> A default-initialized optional and one initialized from boost::null are the same thing. </p> Ticket