Graphics properties as objects
John W. Eaton
jwe at bevo.che.wisc.edu
Tue Jan 8 08:40:13 CST 2008
On 8-Jan-2008, Michael Goffioul wrote:
| On 1/8/08, John W. Eaton <jwe at bevo.che.wisc.edu> wrote:
|
| > I'm surprised to see the property argument above not be a reference or
| > pointer. Doesn't this cause a copy to be made when insert_property is
| > called?
|
| It just increases the reference counting of the underlying base_property
| object.
But won't the count be decremented again when the destructor for the
local value in the insert_property function is called when the end of
the function is reached?
jwe
More information about the Octave-maintainers
mailing list