A
Alf P. Steinbach
At one point I became convinced that the compiler generated incorrect
destruction code for multiple inheritance.
Oh well.
I finally found it:
virtual ~RawPtrHolder()
{
std::auto_ptr< Type >( myPtr ); // Destroy via std::auto_ptr for access.
}
Uh oh.
Can you see what I did wrogn?
Cheers,
- Alf
destruction code for multiple inheritance.
Oh well.
I finally found it:
virtual ~RawPtrHolder()
{
std::auto_ptr< Type >( myPtr ); // Destroy via std::auto_ptr for access.
}
Uh oh.
Can you see what I did wrogn?
Cheers,
- Alf