This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/libstdc++-v3 include/bits/predefined_ops.h ...
- From: paolo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org, libstdc++-cvs at gcc dot gnu dot org
- Date: 29 Jun 2005 19:20:50 -0000
- Subject: gcc/libstdc++-v3 include/bits/predefined_ops.h ...
CVSROOT: /cvs/gcc
Module name: gcc
Branch: libstdcxx_so_7-branch
Changes by: paolo@gcc.gnu.org 2005-06-29 19:20:49
Modified files:
libstdc++-v3/include/bits: predefined_ops.h stl_algo.h
libstdc++-v3/testsuite/25_algorithms/search: 1.cc check_type.cc
libstdc++-v3/src: string-inst.cc
Log message:
2005-06-29 Chris Jefferson <chris@bubblescope.net>
PR libstdc++/21796
* include/bits/predefined_ops.h (__bind2nd, bind2nd): New.
* include/bits/stl_algo.h (search): Delegate to specializations.
(__search(,,,,,forward_iterator_tag): Tidy up original version of
std::search, add calls to find_if.
(__search(,,,,,random_access_iterator_tag): Add new random access
specialization.
* testsuite/25_algorithms/search/1.cc: Add new test.
* testsuite/25_algorithms/search/check_type.cc: Improve and extend
tests.
2005-06-29 Paolo Carlini <pcarlini@suse.de>
* src/string-inst.cc: Add explicit instantiations of __search and
__find_if.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/predefined_ops.h.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.1.2.2&r2=1.1.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/stl_algo.h.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.47.6.13&r2=1.47.6.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/25_algorithms/search/1.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.1.2.2&r2=1.1.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/25_algorithms/search/check_type.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.1.2.1&r2=1.1.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/src/string-inst.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.31.8.2&r2=1.31.8.3