2013-09-12 Paolo Carlini <paolo.carlini@oracle.com>
commit60f603c6f7406c179114ead9fe7bfbe0dd944c9a
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Sep 2013 15:15:34 +0000 (12 15:15 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Sep 2013 15:15:34 +0000 (12 15:15 +0000)
tree5dbcdb2b8de10a78d57844730eb2d48614cd4c14
parent007288d1257637acf0dfc643af3b7983626bb4e6
2013-09-12  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/58403
* include/bits/stl_iterator.h (__normal_iterator<>::operator[],
operator+=, operator+, operator-=, operator-): Take the argument
by value.
* testsuite/24_iterators/normal_iterator/58403.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202531 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_iterator.h
libstdc++-v3/testsuite/24_iterators/normal_iterator/58403.cc [new file with mode: 0644]