This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [patch] Implement std::make_unique
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Jonathan Wakely <jwakely dot gcc at gmail dot com>, libstdc++ <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 18 May 2013 17:36:50 +0200
- Subject: Re: [patch] Implement std::make_unique
- References: <CAH6eHdRtOo3pXU2MtTxmptXR8E8F5fvigJzx-DxU9jmZtO4JOA at mail dot gmail dot com>
Hi,
Jonathan Wakely <jwakely.gcc@gmail.com> ha scritto:
> * include/bits/unique_ptr.h (make_unique): Define.
> * testsuite/20_util/unique_ptr/creation/single.cc: New.
> * testsuite/20_util/unique_ptr/creation/array.cc: New.
> * testsuite/20_util/unique_ptr/creation/array_neg.cc: New.
>
>Tested x86_64-linux, committed to trunk.
Great! Don't we want it inline?
Thanks,
Paolo