Boost C++ Libraries: Ticket #8580: boost.serialization documentation missing void https://svn.boost.org/trac10/ticket/8580 <p> In latest boost.serialization documentation: </p> <p> in first example of: <a class="ext-link" href="https://svn.boost.org/svn/boost/trunk/libs/serialization/doc/archive_reference.html"><span class="icon">​</span>https://svn.boost.org/svn/boost/trunk/libs/serialization/doc/archive_reference.html</a> </p> <p> There is: </p> <pre class="wiki"> ////////////////////////////////////////////////////////// // public interface used by programs that use the // serialization library typedef boost::mpl::bool_&lt;true&gt; is_saving; typedef boost::mpl::bool_&lt;false&gt; is_loading; template&lt;class T&gt; register_type(){} template&lt;class T&gt; trivial_oarchive &amp; operator&lt;&lt;(const T &amp; t){ return *this; </pre><p> There should be (only <strong>void</strong> added): </p> <pre class="wiki"> ////////////////////////////////////////////////////////// // public interface used by programs that use the // serialization library typedef boost::mpl::bool_&lt;true&gt; is_saving; typedef boost::mpl::bool_&lt;false&gt; is_loading; template&lt;class T&gt; void register_type(){} template&lt;class T&gt; trivial_oarchive &amp; operator&lt;&lt;(const T &amp; t){ return *this; </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8580 Trac 1.4.3 Robert Ramey Tue, 20 Aug 2013 22:31:19 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/8580#comment:1 https://svn.boost.org/trac10/ticket/8580#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">fixed</span> </li> </ul> <p> patched in trunk </p> Ticket