NULL iterators for <list>
Marshall Clow
mclow.lists at gmail.com
Thu Aug 1 10:05:50 PDT 2013
http://std.org/jtc1/sc22/wg21/docs/papers/2013/n3644.pdf says that value-initialized iterators should compare equal.
Implement that for std::list.
There are interactions with libc++'s debug mode; hence the extra tests.
-- 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-list.patch
Type: application/octet-stream
Size: 4551 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130801/2a43b503/attachment.obj>
More information about the cfe-commits
mailing list