[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C++11 now default?
From: |
Rik |
Subject: |
Re: C++11 now default? |
Date: |
Fri, 19 Feb 2016 13:54:40 -0800 |
On 02/19/2016 01:34 PM, Mike Miller wrote:
> On Fri, Feb 19, 2016 at 09:55:45 -0500, John W. Eaton wrote:
>> It looks like GCC added support for unique_ptr in version 4.4 and that was
>> released in April 2009. Do we really need a configure check, or should we
>> just switch to using that instead of auto_ptr? I hesitate to clutter the
>> code with a UNIQUE_PTR macro (or similar) to cope with the possibility of
>> not having unique_ptr. I suppose we can do that if necessary, but maybe we
>> should start by just using unique_ptr and seeing if anyone complains. If
>> there are many complaints, then maybe we could add the check?
> Sounds good. A simple text replace of s/auto_ptr/unique_ptr/ works
> perfectly for me, can someone with gcc 4.4 test this? If no volunteers,
> I can use a VM to test.
I made the same patch, but I haven't been able to push to the repository
for 5 hours now. :(
--Rik
- Re: C++11 now default?, Rik, 2016/02/22
- Re: C++11 now default?, Mike Miller, 2016/02/22
- Re: C++11 now default?, John W. Eaton, 2016/02/22
- Re: C++11 now default?, Mike Miller, 2016/02/22
- Re: C++11 now default?, John W. Eaton, 2016/02/22
- Re: C++11 now default?, Ben Abbott, 2016/02/23
- Re: C++11 now default?, Ben Abbott, 2016/02/23