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++/32908] Miss lexicographical_compare random access override



------- Comment #4 from paolo at gcc dot gnu dot org  2007-07-30 21:15 -------
Subject: Bug 32908

Author: paolo
Date: Mon Jul 30 21:14:52 2007
New Revision: 127073

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127073
Log:
2007-07-30  Paolo Carlini  <pcarlini@suse.de>

        PR libstdc++/32908
        * include/bits/stl_algobase.h (struct __lc_rai): New.
        (lexicographical_compare(_II1, _II1, _II2, _II2),
        lexicographical_compare(_II1, _II1, _II2, _II2, _Compare)): Use it.
        * testsuite/performance/25_algorithms/lexicographical_compare.cc: New.

Added:
   
trunk/libstdc++-v3/testsuite/performance/25_algorithms/lexicographical_compare.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/stl_algobase.h


-- 


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


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