Section: 188.8.131.52 [back.insert.iterator] Status: NAD Submitter: Dave Abrahams Opened: 2008-09-19 Last modified: 2016-02-10
Priority: Not Prioritized
View all issues with NAD status.
I just noticed this; don't know how far the problem(?) extends or whether it's new or existing: back_insert_iterator's operator* is not const, so you can't dereference a const one.
[ Post Summit Daniel adds: ]
If done, this change should be applied for front_insert_iterator, insert_iterator, ostream_iterator, and ostreambuf_iterator as well.
[ Batavia (2009-05): ]
Alisdair notes that these all are output iterators. Howard points out that ++*i would no longer work if we made this change.
Move to NAD.
[ 2009-05-25 Daniel adds: ]