bug-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exception in delete operator


From: Olivier DERVYN
Subject: Re: Exception in delete operator
Date: Thu, 4 Jul 2002 16:22:34 +0200

It is because I haven't understand C++ standard about exception in delete
operator.
Exception are not allowed in delete operator and overloaded operator as
mine.

"André Pönitz" <address@hidden> wrote in message
news:address@hidden
> Olivier DERVYN <address@hidden> wrote:
> > Her e a short form of my code :
> >
> > void operator delete( void * ptrMemory ) throw()
>
>                                            ^^^^^^^
>
> I wonder what the purpose of this empty exception specification might be.
>
> Andre'
>
> --
> Those who desire to give up Freedom in order to gain Security,
> will not have, nor do they deserve, either one. (T. Jefferson)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]