Browse Source
The standard library requires iterators passed to functions that modify the container to be mutable iterators, but GCC's implementation accepts const_iterator in some places where these are only used to mark a place, but the actual modification happens through a different parameter. As this breaks implementations that use the passed iterator to modify the container (e.g. because they use a different data organization), this is not portable; because we already have a non-const reference to the container anyway, this is trivially fixed as well.pull/10/head
committed by
Chris Pavlina
3 changed files with 7 additions and 7 deletions
Loading…
Reference in new issue