Boost logo

Boost :

Subject: Re: [boost] [iterator] UB when implicitly using default constructed counting_iterator<unsigned>
From: Claas H. Köhler (claas.koehler_at_[hidden])
Date: 2012-12-05 08:18:07

On 05/12/12 13:48, Olaf van der Spek wrote:
> Did you try to enable iterator debugging?
Good point. Originally no. But I retried replacing <vector> by <debug/vector> and accordingly for the
other container #includes and there is no difference in output nor asserts.

> Anyway, this can't be relied on.
Agreed. The question is whether one implementation is preferable over the other. I personally favour
the version featuring well defined behaviour.

Boost list run by bdawes at, gregod at, cpdaniel at, john at