3 ms·
> I can imagine a smart pointer that actually accomplished the stated goal. Can you elaborate on that? If it requires you to free correctly, then you can just
by Dylan16807 3y ago
> I can imagine a smart pointer that actually accomplished the stated goal.
Can you elaborate on that?
If it requires you to free correctly, then you can just use plain C and the smart pointer isn't accomplishing anything. If it doesn't require that, how does it work?