Boost C++ Libraries: Ticket #6364: boost::optional has bad documentation https://svn.boost.org/trac10/ticket/6364 <p> boost::optional's documentation says that operator unspecified_bool_type is equivalent to (get() != 0), when in fact it is equivalent to (get_ptr() != 0) </p> <p> Also, since is_initialized() is deprecated, it should indicated to use operator unspecified_bool_type() instead. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6364 Trac 1.4.3 bruno.uy@… Thu, 31 May 2012 01:49:42 GMT <link>https://svn.boost.org/trac10/ticket/6364#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6364#comment:1</guid> <description> <p> The reset methods are also deprecated, but the examples in the documentation use them. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Fri, 15 Feb 2013 18:45:02 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/6364#comment:2 https://svn.boost.org/trac10/ticket/6364#comment:2 <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">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/82911" title="Correct definition of operator unspecified-bool-type. Make reference ...">[82911]</a>) Correct definition of operator unspecified-bool-type. Make reference for is_initialized point to this operator. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6364" title="#6364: Bugs: boost::optional has bad documentation (closed: fixed)">#6364</a>. </p> Ticket Bruno Martinez Aguerre <bruno.uy@…> Fri, 15 Feb 2013 19:29:39 GMT <link>https://svn.boost.org/trac10/ticket/6364#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6364#comment:3</guid> <description> <p> Steven, maybe you can also fix the examples? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Fri, 15 Feb 2013 19:39:11 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6364#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6364#comment:4</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/6364#comment:3" title="Comment 3">Bruno Martinez Aguerre &lt;bruno.uy@…&gt;</a>: </p> <blockquote class="citation"> <p> Steven, maybe you can also fix the examples? </p> </blockquote> <p> Already done. It had it's own ticket: <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/765" title="#765: Bugs: optional documentation (closed: fixed)">#765</a> </p> </description> <category>Ticket</category> </item> <item> <author>Bruno Martinez Aguerre <bruno.uy@…></author> <pubDate>Fri, 15 Feb 2013 19:50:36 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6364#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6364#comment:5</guid> <description> <p> Great work. Thank you. </p> </description> <category>Ticket</category> </item> </channel> </rss>