[patch]: Remove unnecessary overloads in stl_function.h

caj caj@cs.york.ac.uk
Mon Jan 3 22:03:00 GMT 2005


In stl_function.h, the various mem_fun templates are defined. I was 
digging through this when I noticed that there was a set of specialised 
overloads for void. These are noted as only been necessary if the 
compiler doesn't support partial specialization, and of course g++ does!

The following patch removes the unnessasary overloads and adds a test file.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_memberfunctionbinders
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20050103/56e7cce0/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: stl_function.h.patch
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20050103/56e7cce0/attachment-0001.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.cc
Type: text/x-c++src
Size: 2844 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20050103/56e7cce0/attachment.bin>


More information about the Libstdc++ mailing list