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 <zeratul976-AT-hotmail.com> 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
http://www.boostpro.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net