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

Darin Adler darin at apple.com
Fri Oct 25 17:38:49 PDT 2013

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.

— Darin

More information about the webkit-dev mailing list