$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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 <asutton.list-AT-gmail.com> 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 http://www.boostpro.com