egcs allows deletion of const objects.
Alexandre Oliva
oliva@dcc.unicamp.br
Tue Oct 6 00:36:00 GMT 1998
Bill Currie <bcurrie@tssc.co.nz> writes:
> I believe Louidor may have been thinking of deleting const pointers (eg
> char * const foo).
This shouldn't make any difference, from the point of view of
`delete'. Constness does not affect the ability to delete.
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:oliva@gnu.org mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil
More information about the Gcc-bugs
mailing list