Page 1 of 1

std::auto_ptr

Posted: Tue Dec 01, 2009 12:40 am
by ndk
Hello Eran!
I have one question. Why do not use std::auto_ptr?
As a rule using not owned pointers is not safe.

Re: std::auto_ptr

Posted: Tue Dec 01, 2009 9:59 am
by eranif
codelite is using SmartPtr - a smart ptr + reference counting.
auto_ptr does not have a reference counting, which makes it expensive
Eran