mmozeiko
There is exception where you can do, but you shouldn't rely on that (class has no vtable, and no members in its or its parent classes which have constructors).
I don't think you meant to say that you can't rely on POD semantics if it's truly a POD type...
C0D3
oh sorry, Texture,Image and Sprite is all part of the cocos framework so I guess I would have to go in and change it. I guess I can't use that class for this method then?
It sounds like you've found an impedance mismatch between Cocos and your memory manager. I think the thing to do is ask the Cocos people how to integrate it with custom memory management.