Topic: Why is basic_string::replace using iterator?


Author: "Bo Persson" <bop@gmb.dk>
Date: Mon, 21 Sep 2009 01:32:17 CST
Raw View
The insert and erase members of basic_string has been changed to take
const_iterator parameters. However, several of the replace functions
still take iterator parameters.

Is this due to an oversight in issue #180, and thus a possible defect?


Bo Persson



--
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@netlab.cs.rpi.edu]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]