Boost C++ Libraries: Ticket #8785: Typo in documentation for common_type https://svn.boost.org/trac10/ticket/8785 <p> In the documentation for common_type, <a href="http://www.boost.org/doc/libs/1_54_0/libs/type_traits/doc/html/boost_typetraits/examples/improved_min.html">http://www.boost.org/doc/libs/1_54_0/libs/type_traits/doc/html/boost_typetraits/examples/improved_min.html</a> </p> <p> I believe: </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">T</span><span class="p">,</span> <span class="k">class</span> <span class="nc">U</span><span class="o">&gt;</span> <span class="k">typename</span> <span class="n">common_type</span><span class="o">&lt;</span><span class="n">T</span><span class="p">,</span> <span class="n">U</span><span class="o">&gt;::</span><span class="n">type</span> <span class="n">min</span><span class="p">(</span><span class="n">T</span> <span class="n">t</span><span class="p">,</span> <span class="n">T</span> <span class="n">u</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">T</span><span class="p">,</span> <span class="k">class</span> <span class="nc">U</span><span class="o">&gt;</span> <span class="k">typename</span> <span class="n">common_type</span><span class="o">&lt;</span><span class="n">T</span><span class="p">,</span> <span class="n">U</span><span class="o">&gt;::</span><span class="n">type</span> <span class="n">min</span><span class="p">(</span><span class="n">T</span> <span class="n">t</span><span class="p">,</span> <span class="n">U</span> <span class="n">u</span><span class="p">)</span> </pre></div></div> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8785 Trac 1.4.3 viboes Sat, 26 Oct 2013 15:24:20 GMT owner, status, component changed https://svn.boost.org/trac10/ticket/8785#comment:1 https://svn.boost.org/trac10/ticket/8785#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Matias Capeletto</span> to <span class="trac-author">viboes</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>component</strong> <span class="trac-field-old">Documentation</span> → <span class="trac-field-new">utility</span> </li> </ul> Ticket viboes Sat, 26 Oct 2013 15:24:39 GMT component changed https://svn.boost.org/trac10/ticket/8785#comment:2 https://svn.boost.org/trac10/ticket/8785#comment:2 <ul> <li><strong>component</strong> <span class="trac-field-old">utility</span> → <span class="trac-field-new">type_traits</span> </li> </ul> Ticket viboes Sat, 26 Oct 2013 15:30:52 GMT <link>https://svn.boost.org/trac10/ticket/8785#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8785#comment:3</guid> <description> <p> Committed revision <a class="changeset" href="https://svn.boost.org/trac10/changeset/86457" title="TypeTraits/common_type fix typo.">[86457]</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Sat, 26 Oct 2013 15:49:30 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/8785#comment:4 https://svn.boost.org/trac10/ticket/8785#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</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/86458" title="TypeTraits/common_type fix typo. fix #8785.">[86458]</a>) <a class="missing wiki">TypeTraits</a>/common_type fix typo. fix <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8785" title="#8785: Bugs: Typo in documentation for common_type (closed: fixed)">#8785</a>. </p> Ticket