octave-maintainers
[Top][All Lists]
Advanced

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

deprecated use of octave_allocator


From: Andreas Weber
Subject: deprecated use of octave_allocator
Date: Fri, 16 Jan 2015 15:26:02 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0

Dear all,

since cset a35d381e22b0 from 2011 USE_OCTAVE_ALLOCATOR is undefined per
default. The help text for this configure switch:

"--enable-octave-allocator: use the obsolete octave_allocator class for
many of Octave's objects (mostly octave_value types). You probably do
NOT want to enable this feature."

On the project page http://wiki.octave.org/Projects under Numerical it's
listed as:
"Use octave_allocator for memory management in Array classes once g++
supports static member templates."

What is the intended use for octave_allocator? Should new code (such as
audiodevinfo.cc in line 648 and 554) use the DECLARE_OCTAVE_ALLOCATOR
and DEFINE_OCTAVE_ALLOCATOR macros?

Thank you, Andy



reply via email to

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