
20 Oct
2011
20 Oct
'11
8:34 p.m.
On Thu, Oct 20, 2011 at 8:15 PM, pavel <paul.cpprules@gmail.com> wrote:
sorry, i misread the initial message
if the definition of size is how many times one need to ++begin to reach end then it's clearly must be something like size_t
but if size is (end - begin) for random access iterators it well may be a signed integer, e.g. ptrdiff_t
Why? Are you trying to imply end - begin can be negative for a valid range? Olaf