3 ms·
And that’s my concern too. Shared pointers aren’t free. You can solve problems with them but the moment I see them in code it raises flags that make me think s
by butterisgood 7y ago
And that’s my concern too. Shared pointers aren’t free.
You can solve problems with them but the moment I see them in code it raises flags that make me think someone gave up solving the actual problem at hand and “this seemed to work”.
I’ve seen many an otherwise good looking code base paint itself into corners over object ownership, life cycles and resource reclamation.