Boost logo

Boost Users :

Subject: Re: [Boost-users] A forward iterator need not be default-constructible
From: Kim Barrett (kab.conundrums_at_[hidden])
Date: 2011-09-30 13:48:54


On Sep 30, 2011, at 1:44 PM, Kim Barrett wrote:
> On Sep 30, 2011, at 12:29 PM, Andrew Sutton wrote:
>>
>> Well, two anyways: == and !=. Given that the standard doesn't allow
>> those on singular-valued iterators, you're right. I think the standard
>> is a little too strict, here.
>
> The underlying values that would need to be compared are potentially
> "trap" values (c.f. C++99/6.2.6/5).

A bit of an oops here; I had both C++ and C standards open on my screen;
and referenced sections are from C. But the argument is still the same.


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