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-28 18:36:56

on Wed Sep 28 2011, Nathan Ridge <> wrote:

>> 2. The concept mechanism used by Boost should not require singular
>> iterators to exist; the standard is obnoxious and misguided here and
>> promotes sloppy coding.
> I think the Boost authors are unlikely to decide to ignore a part of the
> standard just because one person believes it is obnoxious and misguided
> and promotes sloppy coding.
> I would suggest making your case about the default constructibility of
> forward iterators at comp.std.c++. If you gain consensus there that
> this requirement is indeed misguided, then your request will carry
> more weight here.

I'd also like to point out that there's no rule saying
default-constructed iterators must be singular.

Dave Abrahams
BoostPro Computing

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