Boost C++ Libraries: Ticket #5971: size() return type should be size_type, not difference_type https://svn.boost.org/trac10/ticket/5971 <p> The return type of size() should be size_type. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5971 Trac 1.4.3 Andrey Semashev Thu, 03 Nov 2011 07:56:36 GMT <link>https://svn.boost.org/trac10/ticket/5971#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5971#comment:1</guid> <description> <p> There have been discussion about this issue on the dev ML: </p> <p> <a class="ext-link" href="http://comments.gmane.org/gmane.comp.lib.boost.devel/224758"><span class="icon">​</span>http://comments.gmane.org/gmane.comp.lib.boost.devel/224758</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Neil Groves</dc:creator> <pubDate>Sun, 15 Apr 2012 11:53:43 GMT</pubDate> <title>status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/5971#comment:2 https://svn.boost.org/trac10/ticket/5971#comment:2 <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> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.50.0</span> </li> </ul> <p> Done at last! Thanks for patiently waiting for my health to improve. </p> Ticket Olaf van der Spek <olafvdspek@…> Mon, 25 Mar 2013 22:56:13 GMT <link>https://svn.boost.org/trac10/ticket/5971#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5971#comment:3</guid> <description> <p> Hi Neil, </p> <p> Are you sure this was fixed? </p> <p> boost_1_53_0\boost\range\iterator_range_core.hpp: </p> <pre class="wiki">difference_type size() const { return m_End - m_Begin; } </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Fri, 21 Jun 2013 22:56:10 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/5971#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5971#comment:4</guid> <description> <p> Mr Groves? </p> </description> <category>Ticket</category> </item> </channel> </rss>