
18 Oct
2011
18 Oct
'11
11:45 p.m.
iterator_range returns a signed size. Is this correct? IMO it should return size_t.
boost\range\iterator_range_core.hpp: difference_type size() const { return m_End - m_Begin; }
Random thought: It seems like advance_begin and advance_end could be used to create a strictly negative size. Returning difference_type allows this to be detected while a size_type does not. - Rhys