This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Merging predicated and non-predicated algorithms
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: caj <caj at cs dot york dot ac dot uk>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Tue, 4 Jan 2005 09:00:04 -0600
- Subject: Re: Merging predicated and non-predicated algorithms
- Organization: Red Hat / Chicago
- References: <41D6E3E3.6090809@cs.york.ac.uk>
I think this looks pretty good!
>2004-12-31 Christopher Jefferson <chris@bubblescope.net>
>
> * include/bits/predefined_ops: New.
predefined_ops.h
> * include/bits/stl_algobase.h(mismatch): Make non-predicate
> version call predicated version.
> (equal): Likewise.
> (lexicographical_compare): Likewise.
> * testsuite/25_algorithms/lexicographical_compare/algtest.cc: New.
> * testsuite/25_algorithms/lexicographical_compare/typecheck.cc: New.
> * testsuite/25_algorithms/mismatch/algtest.cc: New.
> * testsuite/25_algorithms/mismatch/typecheck.cc: New.
> * testsuite/25_algorithms/equal/algtest.cc: New.
> * testsuite/25_algorithms/equal/typecheck.cc: New.
typecheck.cc->check_type.cc, can probably just number algtest.cc.
If you "grep check testsuite_files" you can see conventions that are already being used.
best,
benjamin