octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Graphics properties as objects


From: John W. Eaton
Subject: Re: Graphics properties as objects
Date: Tue, 08 Jan 2008 09:40:13 -0500

On  8-Jan-2008, Michael Goffioul wrote:

| On 1/8/08, John W. Eaton <address@hidden> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]