Boost C++ Libraries: Ticket #1442: Documentation mistake https://svn.boost.org/trac10/ticket/1442 <p> <a href="http://www.boost.org/libs/range/doc/utility_class.html#sub_range">http://www.boost.org/libs/range/doc/utility_class.html#sub_range</a> </p> <p> 1.34.1: </p> <div class="wiki-code"><div class="code"><pre> <span class="k">template</span><span class="o">&lt;</span> <span class="k">class</span> <span class="nc">ForwardRange2</span> <span class="o">&gt;</span> <span class="n">sub_range</span><span class="p">(</span> <span class="k">const</span> <span class="n">Range2</span><span class="o">&amp;</span> <span class="n">r</span> <span class="p">);</span> </pre></div></div><p> Should be: </p> <div class="wiki-code"><div class="code"><pre> <span class="k">template</span><span class="o">&lt;</span> <span class="k">class</span> <span class="nc">ForwardRange2</span> <span class="o">&gt;</span> <span class="n">sub_range</span><span class="p">(</span> <span class="k">const</span> <span class="n">ForwardRange2</span><span class="o">&amp;</span> <span class="n">r</span> <span class="p">);</span> </pre></div></div> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1442 Trac 1.4.3 Thorsten Ottosen Sat, 17 Nov 2007 20:45:32 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1442#comment:1 https://svn.boost.org/trac10/ticket/1442#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> Ticket