Re:The Myth of Smart Pointers
by jay-barronville on Friday December 01, 2023 @02:56AM
(#38484296)
Am I misunderstanding something or does the author seem to be conflating garbage collection with the automatic memory management C++ enables via smart pointers? Those are two entirely different things.
[ Parent
| on HN ]
Re:The Myth of Smart Pointers
by swiftcoder on Friday December 01, 2023 @04:10AM
(#38484754)
Reference-counted smart pointers might not be what we usually mean by a "garbage collector", but they certainly are a form of garbage collection.