I was having a conversation with ChatGPT regarding the use of smart pointers in Unreal Engine, and I wanted to get your guys’ opinion on the matter. I asked it if I should use smart pointers in my code the ones built into UE seem to be their implementation.
It seems like UE’s garbage collection system already does a good job of handling memory the way it’s supposed to, and that’s why ChatGPT said not to use them. However I have a strong feeling that I should. Any thoughts on this?
That’s actually helpful link thank you; I guess because I won’t be using shared pointers much it’s safe to use them without too much overhead. I also won’t be working with rendering…ever with c++ so I’m safe to use them.