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

Ryosuke Niwa rniwa at webkit.org
Fri Oct 25 14:32:29 PDT 2013


My understanding is that OwnPtr should be deprecated in favor of
std::unique_ptr.

- R. Niwa


On Fri, Oct 25, 2013 at 2:23 PM, Hugo Lima <hugo.lima at openbossa.org> wrote:

> Hi,
>
> There are some code using std::unique_ptr and some using
> OwnPtr/PassOwnPtr all over WebKit, a grep based search shows:
>
> OwnPtr: 4130
> PassOwnPtr: 1660
> unique_ptr: 587
>
> 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.
>
> Thanks.
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20131025/ef8cf1b8/attachment.html>


More information about the webkit-dev mailing list