"delete this;" in const member function?

Jason Merrill jason@cygnus.com
Tue Feb 10 20:39:00 GMT 1998


>>>>> Ingolf Koch <ingolf@mathematik.uni-jena.de> writes:

> Is it allowed to "delete this" in a const member function?

Yes.  You can now delete a const*.

Jason



More information about the Gcc-bugs mailing list