#5971 closed Bugs (fixed)
size() return type should be size_type, not difference_type
Reported by: | Owned by: | Neil Groves | |
---|---|---|---|
Milestone: | Boost 1.50.0 | Component: | range |
Version: | Boost 1.47.0 | Severity: | Problem |
Keywords: | Cc: |
Description
The return type of size() should be size_type.
Change History (4)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Milestone: | To Be Determined → Boost 1.50.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Done at last! Thanks for patiently waiting for my health to improve.
comment:3 by , 10 years ago
Hi Neil,
Are you sure this was fixed?
boost_1_53_0\boost\range\iterator_range_core.hpp:
difference_type size() const { return m_End - m_Begin; }
Note:
See TracTickets
for help on using tickets.
There have been discussion about this issue on the dev ML:
http://comments.gmane.org/gmane.comp.lib.boost.devel/224758