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: David Malcolm <dmalcolm at redhat dot com>
- To: tbsaunde+gcc at tbsaunde dot org, gcc-patches at gcc dot gnu dot org
- Cc: palves at redhat dot com
- Date: Mon, 31 Jul 2017 20:51:18 -0400
- Subject: Re: [PATCH 0/2] add unique_ptr class
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx04.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx04.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=dmalcolm at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 202ECADA21
- References: <20170731234607.21952-1-tbsaunde+gcc@tbsaunde.org>
On Mon, 2017-07-31 at 19:46 -0400, tbsaunde+gcc@tbsaunde.org wrote:
> From: Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
>
> Hi,
>
> 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. I'm not sure
> at the moment what outside of gcc may want to use this, but putting
> it include/
> at least allows us to use it in libcpp which may be useful. I didn't
> include
> too much usage in this series, but I believe other people have wanted
> this too,
Thanks for posting this.
For example, I could use this in:
[PATCH 1/3] c-family: add name_hint/deferred_diagnostic
https://gcc.gnu.org/ml/gcc-patches/2017-05/msg00439.html
e.g. as discussed here:
https://gcc.gnu.org/ml/gcc-patches/2017-07/msg00123.html
Dave
> so I'm reasonably confident it will get a fair amount of usage.
>
> patches individually bootstrapped + regtested on ppc64-linux-gnu, ok?
>
> Trev
>
>