Boost C++ Libraries: Ticket #1525: function_traits::arity should be unsigned type https://svn.boost.org/trac10/ticket/1525 <p> function_traits::arity is currently 'int', which leads to warnings when comparing it with unsigned types. It seems more logical to me to use 'size_t' (or at least 'unsigned') for it. John? </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1525 Trac 1.4.3 John Maddock Tue, 18 Dec 2007 16:36:54 GMT status changed https://svn.boost.org/trac10/ticket/1525#comment:1 https://svn.boost.org/trac10/ticket/1525#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> <p> I agree with that. </p> <p> I'll play safe and use unsigned rather than size_t, as I don't think we'll ever overflow an unsigned :-) </p> <p> Will be fixed in SVN shortly. </p> Ticket John Maddock Tue, 18 Dec 2007 16:37:24 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1525#comment:2 https://svn.boost.org/trac10/ticket/1525#comment:2 <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/42138" title="Fixes #1525.">[42138]</a>) Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1525" title="#1525: Bugs: function_traits::arity should be unsigned type (closed: fixed)">#1525</a>. </p> Ticket Eric Niebler Wed, 19 Dec 2007 22:46:40 GMT <link>https://svn.boost.org/trac10/ticket/1525#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1525#comment:3</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/42185" title="Merged revisions 42067-42179 via svnmerge from ...">[42185]</a>) Merged revisions 42067-42179 via svnmerge from <a class="ext-link" href="https://svn.boost.org/svn/boost/trunk"><span class="icon">​</span>https://svn.boost.org/svn/boost/trunk</a> </p> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/42067" title="MSVC warning suppression.">r42067</a> | johnmaddock | 2007-12-15 04:32:18 -0800 (Sat, 15 Dec 2007) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> MSVC warning suppression. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/42069" title="Correct misspelling of library name">r42069</a> | bemandawes | 2007-12-15 06:26:16 -0800 (Sat, 15 Dec 2007) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> Correct misspelling of library name </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/42074" title="Fix error messages so they work with Boost.Format.">r42074</a> | johnmaddock | 2007-12-15 09:10:03 -0800 (Sat, 15 Dec 2007) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> Fix error messages so they work with Boost.Format. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/42076" title="Trivial patches to silence MSVC warnings.">r42076</a> | johnmaddock | 2007-12-15 09:36:31 -0800 (Sat, 15 Dec 2007) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> Trivial patches to silence MSVC warnings. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/42078" title="Disable long double tests if there's no long double support.">r42078</a> | johnmaddock | 2007-12-15 10:29:29 -0800 (Sat, 15 Dec 2007) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> Disable long double tests if there's no long double support. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/42080" title="Yet another MSVC warning suppression.">r42080</a> | johnmaddock | 2007-12-15 10:49:13 -0800 (Sat, 15 Dec 2007) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> Yet another MSVC warning suppression. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/42082" title="mark up Boost.Test tests for Linux ia64 gcc; make Boost.Interprocess ...">r42082</a> | bgubenko | 2007-12-15 10:53:01 -0800 (Sat, 15 Dec 2007) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> mark up Boost.Test tests for Linux ia64 gcc; make Boost.Interprocess unsupported on Linux ia64 gcc and PA-RISC </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/42086" title="added timed_wait overloads that take a duration">r42086</a> | anthonyw | 2007-12-15 14:34:30 -0800 (Sat, 15 Dec 2007) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> added timed_wait overloads that take a duration </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/42087" title="explicit move functions for threads, with a test">r42087</a> | anthonyw | 2007-12-15 14:36:43 -0800 (Sat, 15 Dec 2007) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> explicit move functions for threads, with a test </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/42105" title="Removed markup for now passing Sandia tests.">r42105</a> | andreas_huber69 | 2007-12-16 06:58:24 -0800 (Sun, 16 Dec 2007) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> Removed markup for now passing Sandia tests. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/42112" title="Add intel-win-10.0 as required">r42112</a> | bemandawes | 2007-12-16 14:39:32 -0800 (Sun, 16 Dec 2007) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> Add intel-win-10.0 as required </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/42116" title="fixed documentation bug">r42116</a> | djowel | 2007-12-17 01:27:42 -0800 (Mon, 17 Dec 2007) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> fixed documentation bug </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/42117" title="Updated move function test to be fair to Borland">r42117</a> | anthonyw | 2007-12-17 03:24:13 -0800 (Mon, 17 Dec 2007) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> Updated move function test to be fair to Borland </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/42118" title="boost::move support for locks">r42118</a> | anthonyw | 2007-12-17 04:52:50 -0800 (Mon, 17 Dec 2007) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> boost::move support for locks </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/42119" title="Fixes for older HP-UX. ">r42119</a> | chris_kohlhoff | 2007-12-17 05:04:30 -0800 (Mon, 17 Dec 2007) | 2 lines </p> </blockquote> <p> </p> <blockquote> <p> Fixes for older HP-UX. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/42120" title="Bump version number. ">r42120</a> | chris_kohlhoff | 2007-12-17 05:08:10 -0800 (Mon, 17 Dec 2007) | 2 lines </p> </blockquote> <p> </p> <blockquote> <p> Bump version number. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/42121" title="Documentation fixes. ">r42121</a> | chris_kohlhoff | 2007-12-17 05:17:46 -0800 (Mon, 17 Dec 2007) | 2 lines </p> </blockquote> <p> </p> <blockquote> <p> Documentation fixes. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/42127" title="markup test library test prg_exec_fail2 for PA-RISC">r42127</a> | bgubenko | 2007-12-17 10:06:11 -0800 (Mon, 17 Dec 2007) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> markup test library test prg_exec_fail2 for PA-RISC </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/42138" title="Fixes #1525.">r42138</a> | johnmaddock | 2007-12-18 08:37:23 -0800 (Tue, 18 Dec 2007) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1525" title="#1525: Bugs: function_traits::arity should be unsigned type (closed: fixed)">#1525</a>. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/42141" title="Patches to fixe #1423 and #1473">r42141</a> | marshall | 2007-12-18 10:33:55 -0800 (Tue, 18 Dec 2007) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> Patches to fixe <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1423" title="#1423: Bugs: MSVC uniform int workaround not required for VC++ 2008 (closed: fixed)">#1423</a> and <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1473" title="#1473: Bugs: VC++ 2009 does not need workaround (closed: fixed)">#1473</a> </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/42145" title="Prevented &#34;classname&#34;/&#34;methodname&#34;/etc. elements inside &#34;type&#34; ...">r42145</a> | fmhess | 2007-12-18 12:14:01 -0800 (Tue, 18 Dec 2007) | 4 lines </p> </blockquote> <p> </p> <blockquote> <p> Prevented "classname"/"methodname"/etc. elements inside "type" elements inside "static-constant" elements from getting dropped. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/42164" title="bug fix for end_impl.">r42164</a> | djowel | 2007-12-19 02:33:14 -0800 (Wed, 19 Dec 2007) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> bug fix for end_impl. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/42165" title="bug fix for end_impl. (test)">r42165</a> | djowel | 2007-12-19 02:33:39 -0800 (Wed, 19 Dec 2007) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> bug fix for end_impl. (test) </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/42166" title="Updated thread ID, and added tests">r42166</a> | anthonyw | 2007-12-19 02:39:45 -0800 (Wed, 19 Dec 2007) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> Updated thread ID, and added tests </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/42167" title="tweakbug fix for end_impl (tweak).">r42167</a> | djowel | 2007-12-19 02:42:04 -0800 (Wed, 19 Dec 2007) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> tweakbug fix for end_impl (tweak). </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/42168" title="Implement hardware_concurrency for pthread">r42168</a> | anthonyw | 2007-12-19 02:45:01 -0800 (Wed, 19 Dec 2007) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> Implement hardware_concurrency for pthread </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/42169" title="Fix graph title.">r42169</a> | johnmaddock | 2007-12-19 08:41:54 -0800 (Wed, 19 Dec 2007) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> Fix graph title. </p> </blockquote> <p> ........ </p> </description> <category>Ticket</category> </item> </channel> </rss>