Boost C++ Libraries: Ticket #766: "Bug" in comment (x2) https://svn.boost.org/trac10/ticket/766 <pre class="wiki">This is very low priority! Hey guys, In this file: http://boost.org/boost/integer.hpp there is the following comment which says '9=unsigned long' and the code says '9=unsigned char'. Should someone get rid of that comment or fix it? // specializatons: 1=long, 2=int, 3=short, 4=signed char, // 6=unsigned long, 7=unsigned int, 8=unsigned short, 9=unsigned long // no specializations for 0 and 5: requests for a type &gt; long are in error template&lt;&gt; struct int_least_helper&lt;1&gt; { typedef long least; }; template&lt;&gt; struct int_least_helper&lt;2&gt; { typedef int least; }; template&lt;&gt; struct int_least_helper&lt;3&gt; { typedef short least; }; template&lt;&gt; struct int_least_helper&lt;4&gt; { typedef signed char least; }; template&lt;&gt; struct int_least_helper&lt;6&gt; { typedef unsigned long least; }; template&lt;&gt; struct int_least_helper&lt;7&gt; { typedef unsigned int least; }; template&lt;&gt; struct int_least_helper&lt;8&gt; { typedef unsigned short least; }; template&lt;&gt; struct int_least_helper&lt;9&gt; { typedef unsigned char least; }; </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/766 Trac 1.4.3 alexis_wilke Mon, 11 Dec 2006 05:39:26 GMT summary changed https://svn.boost.org/trac10/ticket/766#comment:1 https://svn.boost.org/trac10/ticket/766#comment:1 <ul> <li><strong>summary</strong> <span class="trac-field-old">"Bug" in comment</span> → <span class="trac-field-new">"Bug" in comment (x2)</span> </li> </ul> <pre class="wiki">Logged In: YES user_id=554061 Originator: YES Hi guys, There seems to be many bad comments... 8-) You may want to delete two lines in that file: boost_1_33_1/boost/iostreams/detail/push.hpp Both mention: Macro: BOOST_IOSTREAMS_DEFINE_PUSH_CONSTRUCTOR(mode, name, helper)). with (1) the wrong parameters and (2) the wrong name in one case. Thanks, Alexis </pre> Ticket Marshall Clow Sun, 19 Aug 2007 15:39:09 GMT component, description changed; severity set https://svn.boost.org/trac10/ticket/766#comment:2 https://svn.boost.org/trac10/ticket/766#comment:2 <ul> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">iostreams</span> </li> <li><strong>description</strong> modified (<a href="/trac10/ticket/766?action=diff&amp;version=2">diff</a>) </li> <li><strong>severity</strong> → <span class="trac-field-new">Problem</span> </li> </ul> Ticket Marshall Clow Sun, 19 Aug 2007 15:39:24 GMT severity changed https://svn.boost.org/trac10/ticket/766#comment:3 https://svn.boost.org/trac10/ticket/766#comment:3 <ul> <li><strong>severity</strong> <span class="trac-field-old">Problem</span> → <span class="trac-field-new">Cosmetic</span> </li> </ul> Ticket Daryle Walker Wed, 29 Aug 2007 20:38:10 GMT status, resolution changed https://svn.boost.org/trac10/ticket/766#comment:4 https://svn.boost.org/trac10/ticket/766#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-old">None</span> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed comments in the repository, both in <a class="missing ticket" title="ticket comment does not exist">comment:1</a> and the main description, as <a class="changeset" href="https://svn.boost.org/trac10/changeset/39062" title="Fixed comments listed in #766 that didn't match their described code">[39062]</a> </p> Ticket