
14 Feb
2005
14 Feb
'05
12:20 a.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