More n3644 changes - forward_list and deque

Marshall Clow mclow.lists at gmail.com
Tue Aug 6 07:23:03 PDT 2013


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:mclow.lists at gmail.com>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
        -- Yu Suzuki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: n3644-4.patch
Type: application/octet-stream
Size: 2480 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130806/cc5557f8/attachment.obj>


More information about the cfe-commits mailing list