Re:Never trust a programmer who says he knows C++
by Todd on Tuesday March 30, 2010 @01:24AM
(#1228461)
What about
This should probably be
since the former news up an object and then invokes a copy constructor before losing the original reference and leaking.
[ Parent
| on HN ]
Re:Never trust a programmer who says he knows C++
by masterj on Tuesday March 30, 2010 @01:55AM
(#1228510)
It's also missing a semicolon.