Boost logo

Boost Users :

Subject: Re: [Boost-users] A forward iterator need not be default-constructible
From: Dave Abrahams (dave_at_[hidden])
Date: 2011-09-30 11:25:01

on Fri Sep 30 2011, Andrew Sutton <> wrote:

>> I doubt there may be a sequence of length 0 at NULL.  How would you allocate
>> such a sequence?
> Actually, every iterator (singular, initialized, pointing to viable
> memory or not) defines its own empty range.

No, I don't believe that's quite correct. There are lots of things one
can do with iterators in a range that one cannot do with a
minimally-singular iterator.

Dave Abrahams
BoostPro Computing

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at