• Advertisement
Sign in to follow this  

Questions about 3rd party safe pointers and game engines.

This topic is 3291 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, I have questions about good 3rd party safe pointers. I want to have a good reliable set of safe pointers, mostly for DirectX Com pointers available in my game engine. Question) Should I use CComPtr CAutoPtr etc. in the ATL library ... or boost ... or should I write my own? What would you recommend? I will be using DirectX and C++. Thank you for your help. Jeremy

Share this post


Link to post
Share on other sites
Advertisement
Writing your own is certainly going to be overkill and I would not recommend it unless you need to do some special things with the pointers.

Why do you need 3rd party safe pointers; Why not use std::auto_ptr?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement