octave-maintainers
[Top][All Lists]
Advanced

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

Re: C++11 now default?


From: John W. Eaton
Subject: Re: C++11 now default?
Date: Thu, 25 Feb 2016 16:33:47 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0

On 02/22/2016 12:25 PM, Rik wrote:

We could always do as jwe suggested, albeit reluctantly,  and introduce
UNIQUE_PTR which uses a test in configure to determine whether
std::unique_ptr or std::auto_ptr is available.

Another possibility would be (in the footsteps of gnulib, or perhaps even as part of gnulib) we could define our own <memory> header that includes the system header and then provides a replacement unique_ptr class that has the proper semantics. As I understand it, auto_ptr and unique_ptr are not exactly the same.

jwe





reply via email to

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