Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Garbage Collection in C++

Status
Not open for further replies.

globos

Programmer
Joined
Nov 8, 2000
Messages
260
Location
FR
Hi all,

Can someone tell me about the best garbage collectors for C++? Are they easy to use(as simple as Java)?

Thanks

--
Globos
 
I dont know of any... unless you use auto_ptr which cleans up any pointers it used to have when it is reset to a new pointer.

Matt
 
Globos, interesting... could you explain the requirements for your project that necessitate a garbage collection system.

-pete
 
There is no particular requirements.
I use to build software in Java and Eiffel, and the project I am working on need to be built in C++. So I do not want to bother managing the lifecycle of objects in C++.
That's just why I am asking if anyone already used a GC in C++, and if he can share his experience in using GCs.
Particulary I want to know if there are limits in using a GC in C++.


--
Globos
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top