This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

Re: Merging predicated and non-predicated algorithms


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


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