Boost C++ Libraries: Ticket #3404: shared_from_this documentation: missing semicolon in example code https://svn.boost.org/trac10/ticket/3404 <p> The example code in the documentation for shared_from_this is missing a ';' after the '}' that ends class Y: </p> <p> <a href="http://www.boost.org/doc/libs/1_40_0/libs/smart_ptr/enable_shared_from_this.html">http://www.boost.org/doc/libs/1_40_0/libs/smart_ptr/enable_shared_from_this.html</a> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3404 Trac 1.4.3 mloskot <mateusz@…> Sat, 24 Oct 2009 19:42:13 GMT cc set https://svn.boost.org/trac10/ticket/3404#comment:1 https://svn.boost.org/trac10/ticket/3404#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">mateusz@…</span> added </li> </ul> <p> Also, it is example and as such it's supposed to be complete to just copy &amp; paste &amp; compile, so <em>boost::</em> qualification or </p> <pre class="wiki">using namespace boost; </pre><p> is missing. </p> Ticket Peter Dimov Thu, 26 Nov 2009 20:11:06 GMT <link>https://svn.boost.org/trac10/ticket/3404#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3404#comment:2</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/57950" title="Fix enable_shared_from_this example. Refs #3404.">[57950]</a>) Fix enable_shared_from_this example. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3404" title="#3404: Bugs: shared_from_this documentation: missing semicolon in example code (closed: fixed)">#3404</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Peter Dimov</dc:creator> <pubDate>Thu, 26 Nov 2009 21:58:18 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/3404#comment:3 https://svn.boost.org/trac10/ticket/3404#comment:3 <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/57959" title="Merge [57950], [57952] to release. Fixes #3404. Fixes #3456.">[57959]</a>) Merge <a class="changeset" href="https://svn.boost.org/trac10/changeset/57950" title="Fix enable_shared_from_this example. Refs #3404.">[57950]</a>, <a class="changeset" href="https://svn.boost.org/trac10/changeset/57952" title="Fix number of smart pointers. Refs #3456.">[57952]</a> to release. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3404" title="#3404: Bugs: shared_from_this documentation: missing semicolon in example code (closed: fixed)">#3404</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3456" title="#3456: Bugs: smart_ptr number in documentation (closed: fixed)">#3456</a>. </p> Ticket