I am looking for a garbage collection library for C++ , and some documentation on how to use , Google search produced one by HP , however not sure how to use it.
IF some has better suggestion like smart pointer then please feel free to comment ,
I am currently working on the project ( developed by some one else ) it involves allocating lot of object pointers in vector array , and keeping track of all of them , I was essentially looking for a Java type solution ( if one exists ) to when an Object is no longer referenced by a pointer it get deleted automatically as oppose to manually deleting it.
I guess it sames on a lot of typing and careless errors.
I have heard of smart pointers however not sure how to use them.