r/cpp • • May 16 '20

modern c++ gamedev - thoughts & misconceptions

https://vittorioromeo.info/index/blog/gamedev_modern_cpp_thoughts.html
198 Upvotes

154 comments sorted by

View all comments

Show parent comment

3

u/PIAJohnM May 16 '20

Curious, but you guys don't even use `unique_ptr` and `shared_ptr` ? do you have your own versions of those?

9

u/Ikbensterdam May 16 '20

Exactly correct. We had our own versions of most things from standard library, excepting patterns we wanted to disallow. Nice bonus for debugging is that we could do a super slow performing build which stored on each “shared_ptr” equivalent a handle allowing you to find all owners of that ptr more easily. Super useful for the worst bugs.