
13 Feb
2005
13 Feb
'05
11:20 p.m.
Chris Just <cpjust@yahoo.com> writes:
Of course you can unintentionally transfer ownership if you don't know what you're doing. ;) I believe that's why you're not supposed to pass an auto_ptr to a function
Who told you that? auto_ptr's ability to transfer ownership across function boundaries is one of its most valuable features. -- Dave Abrahams Boost Consulting www.boost-consulting.com