[webkit-dev] Is OwnPtr deprecated in favor of std::unique_ptr?

Hugo Lima hugo.lima at openbossa.org
Mon Oct 28 05:48:39 PDT 2013


On Fri, Oct 25, 2013 at 9:38 PM, Darin Adler <darin at apple.com> wrote:
> On Oct 25, 2013, at 2:23 PM, Hugo Lima <hugo.lima at openbossa.org> wrote:
>
>> I would like to know what's the current recommendation regarding std::unique_ptr use: never use; use on X and Y situations or just slowly replace OwnPtr by unique_ptr.
>
> We are replacing PassOwnPtr and OwnPtr with std::unique_ptr. This is part of a general trend where we are adopting some C++11 language and library features.
>
> It doesn’t have to be slow, but it should be done carefully and we don’t want to rush it or get in the way of more valuable changes.

All clear, thanks very much.

> — Darin


More information about the webkit-dev mailing list