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++/64646] New overloads of std::is_permutation dereference past-the-end iterator


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64646

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Sun Jan 18 16:31:06 2015
New Revision: 219821

URL: https://gcc.gnu.org/viewcvs?rev=219821&root=gcc&view=rev
Log:
    PR libstdc++/64646
    * include/bits/stl_algo.h (__is_permutation): Also test for reaching
    end of the second range.
    * testsuite/25_algorithms/is_permutation/64646.cc: New.

Added:
    trunk/libstdc++-v3/testsuite/25_algorithms/is_permutation/64646.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/stl_algo.h


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