eyer [mailto:tutm...@gmail.com]
Sent: Wednesday, December 09, 2009 4:55 AM
To: clucene-developers@lists.sourceforge.net
Subject: Re: [CLucene-dev] CLucene Memory Management
Hi Itamar,
it's true - boost:shared_ptr might be overkill in many cases. But usage of
raw pointers is dangerous and
Hi Itamar,
it's true - boost:shared_ptr might be overkill in many cases. But
usage of raw pointers is dangerous and evil. Please use
boost::scoped_ptr instead (or std::auto_ptr if copies are needed).
But never ever use raw pointers.
Especially since I've seen that many of the topics discussed here
Henning,
Both of your points are valid, and being worked on. Once we complete the
port, and have solid set of rules on the various cases where this question
arises, we will write that down and have it available for all through in the
project docs.
Implementing boost::shared_ptr is work on progres