← Back to team overview

opencog-dev team mailing list archive

Re: Smart pointers and OpenCog

 

On Tue, Jun 17, 2008 at 4:09 AM, Ben Goertzel <ben@xxxxxxxxxxxx> wrote:
> How would mixing these w/ regular pointers in the same problem cause
> any problem?  The smart pointers will get smartly deleted, and the
> regular pointers will (hopefully!!) get manually deleted...

I guess my concern was more about design and code cleanliness.
Introducing different pointers means that programmers have to deal
with different systems of memory management.

But yeah, trying to convert one to the other would be a lot of work,
possibly best left till later.

J



References