diff options
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/include/bits/stl_iterator.h | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 53d97a7..78e5b2a 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2007-11-07 Paolo Carlini <pcarlini@suse.de> + + * include/bits/stl_iterator.h (move_iterator<>::pointer): Adjust + typedef per DR 680 [Ready]. + 2007-11-06 Paolo Carlini <pcarlini@suse.de> * include/bits/vector.tcc (vector<>::_M_insert_aux<>(iterator, diff --git a/libstdc++-v3/include/bits/stl_iterator.h b/libstdc++-v3/include/bits/stl_iterator.h index bc3cbd9..2d89e57 100644 --- a/libstdc++-v3/include/bits/stl_iterator.h +++ b/libstdc++-v3/include/bits/stl_iterator.h @@ -879,7 +879,8 @@ _GLIBCXX_BEGIN_NAMESPACE(std) typedef _Iterator iterator_type; typedef typename iterator_traits<_Iterator>::difference_type difference_type; - typedef typename iterator_traits<_Iterator>::pointer pointer; + // NB: DR 680. + typedef _Iterator pointer; typedef typename iterator_traits<_Iterator>::value_type value_type; typedef typename iterator_traits<_Iterator>::iterator_category iterator_category; |