On Mon, 2017-07-31 at 19:46 -0400, tbsaunde+...@tbsaunde.org wrote: > From: Trevor Saunders <tbsaunde+...@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 > >