C++ PATCH to fix virtual overriding of operator=

Jason Merrill jason@redhat.com
Tue Jun 15 20:50:00 GMT 2010


Although a copy-assignment operator doesn't override a virtual 
copy-assignment operator from a base class, it can override a virtual 
assignment operator that takes a reference to the derived class.

Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opeq-override.patch
Type: text/x-patch
Size: 4336 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100615/6110913f/attachment.bin>


More information about the Gcc-patches mailing list