
5 Dec
2012
5 Dec
'12
1:40 p.m.
On 05/12/12 14:18, "Claas H. Köhler" wrote:
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.
Update: When using the -D_GLIBCXX_DEBUG flag, the code indeed asserts with the following message: "attempt to compare a singular iterator to a singular iterator" I guess this also means, that it is possible to detect singular iterators even if they are initialised upon default construction.