This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 0/2] add unique_ptr class
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: tbsaunde+gcc at tbsaunde dot org
- Cc: gcc-patches at gcc dot gnu dot org, palves at redhat dot com
- Date: Fri, 4 Aug 2017 19:52:18 +0100
- Subject: Re: [PATCH 0/2] add unique_ptr class
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx02.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx02.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=jwakely at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 1303A6E807
- References: <20170731234607.21952-1-tbsaunde+gcc@tbsaunde.org>
On 31/07/17 19:46 -0400, tbsaunde+gcc@tbsaunde.org wrote:
I've been saying I'd do this for a long time, but I'm finally getting to
importing the C++98 compatable unique_ptr class Pedro wrote for gdb a while
back. I believe the gtl namespace also comes from Pedro, but GNU template
library seems as reasonable as any other name I can come up with.
If it's inspired by "STL" then can we call it something else?
std::unique_ptr is not part of the STL, because the STL is a library
of containers and algorithms from the 1990s. std::unique_ptr is
something much newer that doesn't originate in the STL.
STL != C++ Standard Library
If we want a namespace for GNU utilities, what's wrong with "gnu"?