diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2009-10-28 13:07:00 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2009-10-28 13:07:00 +0000 |
commit | de5b9f12c55af9a6f48a2febe7cf345fe0bd9163 (patch) | |
tree | ee64f591535d75a8682f0fcf19cfc85753074956 | |
parent | e5bb5009e45d12c013d6080fa76f9e09647de117 (diff) | |
download | gcc-de5b9f12c55af9a6f48a2febe7cf345fe0bd9163.zip gcc-de5b9f12c55af9a6f48a2febe7cf345fe0bd9163.tar.gz gcc-de5b9f12c55af9a6f48a2febe7cf345fe0bd9163.tar.bz2 |
stl_iterator_base_funcs.h: (next): Change template parameter name consistently with the resolution of DR...
2009-10-28 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/stl_iterator_base_funcs.h: (next): Change
template parameter name consistently with the resolution
of DR 1011 ([Ready] in Santa Cruz).
From-SVN: r153654
-rw-r--r-- | libstdc++-v3/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++-v3/include/bits/stl_iterator_base_funcs.h | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 8abe9b9..9bd5891 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2009-10-28 Paolo Carlini <paolo.carlini@oracle.com> + + * include/bits/stl_iterator_base_funcs.h: (next): Change + template parameter name consistently with the resolution + of DR 1011 ([Ready] in Santa Cruz). + 2009-10-28 Johannes Singler <singler@kit.edu> PR libstdc++/40852 diff --git a/libstdc++-v3/include/bits/stl_iterator_base_funcs.h b/libstdc++-v3/include/bits/stl_iterator_base_funcs.h index 0a854fa..b629ca2 100644 --- a/libstdc++-v3/include/bits/stl_iterator_base_funcs.h +++ b/libstdc++-v3/include/bits/stl_iterator_base_funcs.h @@ -173,10 +173,10 @@ _GLIBCXX_BEGIN_NAMESPACE(std) } #ifdef __GXX_EXPERIMENTAL_CXX0X__ - template<typename _InputIterator> - inline _InputIterator - next(_InputIterator __x, typename - iterator_traits<_InputIterator>::difference_type __n = 1) + template<typename _ForwardIterator> + inline _ForwardIterator + next(_ForwardIterator __x, typename + iterator_traits<_ForwardIterator>::difference_type __n = 1) { std::advance(__x, __n); return __x; |