Re: Matching delete operator overload as a template function

2008-11-01 Thread Jonathan Wakely
2008/11/1 Jonathan Wakely: > 2008/10/28 S. Tang: >> Hello there, >> >> From what I understand, if one uses placement new with a parameter to >> initialize a class, and if that class' constructor throws an exception, then >> a matching delete operator is called to release the memory. >> >> This do

Re: Matching delete operator overload as a template function

2008-11-01 Thread Jonathan Wakely
2008/10/28 S. Tang <[EMAIL PROTECTED]>: > Hello there, > > From what I understand, if one uses placement new with a parameter to > initialize a class, and if that class' constructor throws an exception, then > a matching delete operator is called to release the memory. > > This does not seem to w