Hello Eran!
I have one question. Why do not use std::auto_ptr?
As a rule using not owned pointers is not safe.
std::auto_ptr
-
- CodeLite Enthusiast
- Posts: 10
- Joined: Sun Jun 14, 2009 6:58 pm
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: std::auto_ptr
codelite is using SmartPtr - a smart ptr + reference counting.
auto_ptr does not have a reference counting, which makes it expensive
Eran
auto_ptr does not have a reference counting, which makes it expensive
Eran
Make sure you have read the HOW TO POST thread