Boost logo

Glas :

Re: [glas] Reference counting?

From: Karl Meerbergen (Karl.Meerbergen_at_[hidden])
Date: 2007-10-12 08:08:59

Hi Neal,

I have not thought of this. I am a bit puzzled. Can you explain what you
mean by reference counting? Do you mean that a container will only
disappear when all its references by other objects disappear?



Neal Becker wrote:

>I'm looking at the glas alpha docs. I've been studying blitz++ recently, and
>I have (so far) liked the use of reference counting.
>A slice of an array returns a (shared) view of the array data. Reference
>counting is used for memory management.
>I read the comments in glas regarding assignment vs. copy construction. Have
>you considered using ref counting instead?
>glas mailing list