Due to overcomplicated overhead maker performance killer but very flexible and reuseable design, I need to mix manual and garbage collected memory management in my C++ applications.
Because at some point I can't determine whether an object should be destroyed or not.
I think I need a help from a garbage collector.
Do you use garbage collector?
What is it?
Is it fast?
Is it easy to use (pluggable) and mixable with the manual memory management?
And unrelated question: Is smart pointer a garbage collector?
How is it work anyway?
Thanks in advance by the way.