This one is quite straightforward.

Comparing a value_initialized iterator to a non-value initialized iterator is 
supposed to be undefined behavior.
I'd really like it if libc++'s debug mode could catch that, but I don't really 
see how (at least for vector/array/deque/forward_list).

-- Marshall

Marshall Clow     Idio Software   <mailto:[email protected]>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly 
moderated down to (-1, Flamebait).
        -- Yu Suzuki

Attachment: n3644-4.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to