octave-maintainers
[Top][All Lists]
Advanced

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

Re: Deprecating Octave_map class


From: John W. Eaton
Subject: Re: Deprecating Octave_map class
Date: Sun, 30 Jun 2013 12:28:45 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12

On 06/30/2013 12:12 PM, Rik wrote:
6/30/13

John,

I just replaced a few remaining instances of Octave_map (CamelCase) with
octave_map or octave_scalar_map
(http://hg.savannah.gnu.org/hgweb/octave/rev/5e30b1c950b8).  Should we be
deprecating Octave_map class?

Yes, I think we should do that as a step toward removing the old interface.

Is there a simple way to do this or is a
kluge like putting the GCC_DEPRECATED_ATTR tag on each form of the
constructor the easiest way to proceed?

I don't know whether you can tag a class declaration with the deprecated attribute. If not, then tagging the constructors seems like the right thing to do since you have to construct the object to use it.

jwe



reply via email to

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