Merging predicated and non-predicated algorithms
caj
caj@cs.york.ac.uk
Sat Jan 1 17:55:00 GMT 2005
Here's attempt 2 of mergin the predicated and non-predicated algorithms.
This adds a new header called predefined_ops.h, which contains the 2
current predefined operators. The only thing I've done (other than take
all the advice given last time, thank you!) is push them into their own
namespace, __ops, as I was nervous about the number of things called
less and __less around the place.
This patch changes equal, mismatch and lexicographical_compare in
stl_algobase.h and also provides tests for all 3 of them.
Chris
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_predefined_ops
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20050101/4d5068ff/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: stl_algobase.h.diff
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20050101/4d5068ff/attachment-0001.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testsuite.tar
Type: application/x-tar
Size: 20480 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20050101/4d5068ff/attachment.tar>
More information about the Libstdc++
mailing list