2009/7/8 Ovanes Markarian <om_boost@keywallet.com>
Hi!

In addition to Steven's remark: May be it relates to minimal example, but why do you need a member pointer here? And why don't you delete it?

I think that would be a better approach:

Yes, the thing about not deleting the member pointer was indeed due to the minimal example - I omitted some stuff and with it the destructor. But you are right, it should work perfectly with a normal member. I think I'll change that for reasons of clarity - don't really know why I made it a pointer in the first place, probably just came into my mind.