The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From: Darin Fisher <da...@chromium.org>
Date: Mon, 12 Nov 2012 15:27:20 -0800
Local: Mon, Nov 12 2012 6:27 pm
Subject: pass_scoped_ptr [Was: [chromium-dev] scoped_ptr<>::reset]
[Fixing subject to reflect forking of thread.]
Are you familiar with the .Pass() method? How is that deficient? It seems
-Darin
On Mon, Nov 12, 2012 at 3:22 PM, Alexandre Elias <ael...@google.com> wrote:
> While we're on the topic of scoped_ptr improvements, is there interest in > introducing a pass_scoped_ptr type? As it stands, it's dangerous to pass > around scoped_ptrs as parameters due to the problem described in > http://www.webkit.org/coding/RefPtr.html (section "PassRefPtr"). I ran > into a subtle bug caused by this just last week. > --
> --
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||