[Top][All Lists]

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

Re: How to derive from 'octave_base_value' ?

From: John W. Eaton
Subject: Re: How to derive from 'octave_base_value' ?
Date: Sun, 29 Mar 2009 19:03:32 -0400

On 22-Mar-2009, Søren Hauberg wrote:

| søn, 22 03 2009 kl. 20:53 +0100, skrev Jaroslav Hajek:
| > I think your derived class must override octave_base_value::is_defined.
| Thanks, that was the missing part.

and earlier you wrote:

| I'd like to create a new type in Octave that simply holds a pointer to
| some object in an external library. The attached code implements a very
| simple type in Octave that just holds a string. This was the simplest
| possible type I could think of. I compile the code with

Does this solution (using octave_value) give you the copying semantics
that you want?


reply via email to

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