Quoting ±èµ¿Çö <[hidden email]>:
> I¡¯m trying to use a class that has private constructor and destructor,
> For example, creating and destroying an instances of this class is done by
> other manager not by that class itself.
Of the top of my head, you could try wrapping it in a "smart pointer". Your
smart pointer wouldn't really have to be smart, it could just wrap a pointer
and make sure to never delete the object.