News for hackers. Stuff that matters.
Re:Why do C++ folks make things so complicated? by timr on Saturday December 31, 2011 @06:10PM (#3412159)
"Not using shared_ptr a code smell?"

Yes. It's part of the C++ standard. All rants against Dave Abrahams and Boost aside, not using the standard library to do standard things is a code smell.

Re:Why do C++ folks make things so complicated? by zvrba on Monday January 02, 2012 @04:00PM (#3417317)
What "standard things"? shared_ptr is only one of many possible ways to keep track of object lifetimes. Rolling your own reference-counted smart pointer might be a code smell, but not choosing reference counting is far from that.