Why is it not possible to build a garbage collector for C++ when pointers are used?
Why is it not possible to build a garbage collector for C++ when pointers are used?
O_o
It is possible. At one point, the new standard considered making a standard interface to garbage collection.
Soma
It's not only possible, but I know of the existence of at least one. They are a little different though in that they must be pessimistic.
Actually its is an interview question I have seen online.
Got confused, asked that's why...