Small list fix

Chris Jefferson caj@cs.york.ac.uk
Thu Nov 18 01:39:00 GMT 2004


Sorry if I misunderstood, but in a previous submission I was told not to 
write "--end()". However I wondered across a couple of occurances of 
this very thing in stl_list.h!

A very simple patch, bootstrapped and tests, and produces identical 
output on -O2 to the old version.

Sorry if I misunderstood the exact cases in which doing --end() is and 
is not allowed...

Chris
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_list
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20041118/4ff8d87c/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff_list
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20041118/4ff8d87c/attachment-0001.ksh>


More information about the Libstdc++ mailing list