document ms compiler problems with placement delete
This commit is contained in:
@@ -94,8 +94,13 @@ void syncGroupReadNotify::show ( unsigned level ) const
|
||||
|
||||
void syncGroupReadNotify::operator delete ( void * p )
|
||||
{
|
||||
throw std::logic_error
|
||||
( "compiler is confused about placement delete" );
|
||||
// Visual C++ .net appears to require operator delete if
|
||||
// placement operator delete is defined? I smell a ms rat
|
||||
// because if I declare placement new and delete, but
|
||||
// comment out the placement delete definition there are
|
||||
// no undefined symbols.
|
||||
errlogPrintf ( "%s:%d this compiler is confused about placement delete - memory was probably leaked",
|
||||
__FILE__, __LINE__ );
|
||||
}
|
||||
|
||||
void * syncGroupReadNotify::operator new ( size_t size,
|
||||
|
||||
Reference in New Issue
Block a user