]> gcc.gnu.org Git - gcc.git/commit
re PR libstdc++/26020 (std::advance() isn't stable for floating point numbers)
authorPaolo Carlini <pcarlini@suse.de>
Tue, 17 Oct 2006 15:17:32 +0000 (15:17 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 17 Oct 2006 15:17:32 +0000 (15:17 +0000)
commit8f407473acd4c8eb119704f4fec30a6ed130fdb7
treef519470139721610686b4f76c385abe5dc074060
parentcd8dc1f9b90e8a7f8e645a29549696f399d6e9af
re PR libstdc++/26020 (std::advance() isn't stable for floating point numbers)

2006-10-17  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/26020
* include/bits/stl_iterator_base_funcs.h (advance): Convert
distance parameter to iterator_traits<>::difference_type.
* testsuite/24_iterators/26020.cc: New.

From-SVN: r117827
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_iterator_base_funcs.h
libstdc++-v3/testsuite/24_iterators/26020.cc [new file with mode: 0644]
This page took 0.056266 seconds and 5 git commands to generate.