This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/26020] std::advance() isn't stable for floating point numbers



------- Comment #14 from paolo at gcc dot gnu dot org  2006-10-17 15:17 -------
Subject: Bug 26020

Author: paolo
Date: Tue Oct 17 15:17:32 2006
New Revision: 117827

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117827
Log:
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.

Added:
    trunk/libstdc++-v3/testsuite/24_iterators/26020.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/stl_iterator_base_funcs.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26020


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]