Original Post
Hi, im looking for a smartpointer class lib that is as good and transparent as possible. That can handle custom memory deallocation such as dx video memory for instance. Which needs to call i->Release(); instead of delete i; (if that how you do it with custom memory? im not familiar with smart pointers) I have heard that std::auto_ptr has alot of problems, for instance that you cannot have a vector of auto_ptr, or if it was copying a vector, or something like that. Maybe some boost pointer? Basically what i want is memory management for c++.