This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: "delete this;" in const member function?
- To: ingolf at mathematik dot uni-jena dot de (Ingolf Koch), egcs-bugs at cygnus dot com
- Subject: Re: "delete this;" in const member function?
- From: Jason Merrill <jason at cygnus dot com>
- Date: 10 Feb 1998 20:39:17 -0800
- References: <199802091533.QAA14453.cygnus.egcs.bugs@maxp09.mathe.uni-jena.de>
>>>>> 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