octave-maintainers
[Top][All Lists]
Advanced

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

Re: Compilation error: auto_ptr and private class


From: Jaroslav Hajek
Subject: Re: Compilation error: auto_ptr and private class
Date: Fri, 12 Feb 2010 18:54:57 +0100

2010/2/12 Jordi GutiƩrrez Hermoso <address@hidden>:
> On 12 February 2010 02:05, Michael Goffioul <address@hidden> wrote:
>> 9.0\VC\INCLUDE\memory(716) : while compiling class template member
>> function 'std::auto_ptr<_Ty>::~auto_ptr(void)'
>
> Btw, auto_ptr is scheduled to be deprecated from C++ (yes, they
> actually *do* deprecate things in C++ sometimes!).
>
> Not that this is relevant to your problem, but...
>

Yes, it's going to be replaced by unique_ptr. The primary difference
is that unique_ptr will use rvalue references instead of template
magic. In this case we'll simply replace auto_ptr by unique_ptr, no
big deal.


-- 
RNDr. Jaroslav Hajek, PhD
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz



reply via email to

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