NULL iterators for <list>

Marshall Clow mclow.lists at
Thu Aug 1 10:05:50 PDT 2013  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>

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: <>

More information about the cfe-commits mailing list