Opened 10 years ago
Closed 9 years ago
#8061 closed Bugs (fixed)
iterator_range::size() return type should be size_type, not difference_type
Reported by: | Owned by: | Neil Groves | |
---|---|---|---|
Milestone: | To Be Determined | Component: | range |
Version: | Boost 1.53.0 | Severity: | Problem |
Keywords: | Cc: |
Description
The return type of iterator_range::size() should be size_type.
In the documentation (http://www.boost.org/doc/libs/1_53_0/libs/range/doc/html/range/reference/utilities/iterator_range.html) the return type is size_type, in trunk and 1.53 it is difference_type.
(This is same issue was discussed and resolved in Ticket #5971, however class iterator_range might be forgotten there)
Change History (2)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
The fix is trivial, is a patch needed?