News for hackers. Stuff that matters.
Re:C++ Frequently Questioned Answers by mrtron on Monday May 11, 2009 @01:52AM (#603053)
This is C++. Implement your own deconstructor, and manage your own damn memory.

I would probably use Boost's smart pointers to handle the reference counting though.

Re:C++ Frequently Questioned Answers by swolchok on Monday May 11, 2009 @02:12AM (#603076)
No, GP's point is that there are garbage collectors for C++. I believe Stroustrup even mentions one in The C++ Programming Kanguage. Furthermore, you CAN tell the type of an object given a pointer to it, assuming it has at least one virtual function, using the typeid operator. As the GP said, the original quote is nonsense.
Re:C++ Frequently Questioned Answers by calambrac on Monday May 11, 2009 @01:59PM (#603905)
assuming it has at least one virtual function

Which you can't do. Seriously, when did it become okay to call out a problem with the general case as nonsense because there's a specific case that avoids the issue?