XP, VC6, VAX 10.4.1647.0
With this class:#pragma once
class test
{
public:
test();
virtual ~test();
static void* operator new( size_t obj_size, size_t buffer_size );
static void operator delete( void* obj, size_t buffer_size );
};
Create implementation generates:#include "test.h"
void* test::operator new( size_t obj_size, size_t buffer_size )
{
return;
}
void operator test::operator delete( void* obj, size_t buffer_size )
{
return;
}
Which is obviously incorrect on delete...
G.