220 15574 <F6EE9C20-E722-4924-B8A9-FFD5D3A8B797@gmail.com> article
Path: news.gmane.org!not-for-mail
From: David Krauss <potswa@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: RFC: Adding Symmetry Between shared_ptr and weak_ptr
Date: Sun, 11 Jan 2015 19:54:51 +0800
Lines: 64
Approved: news@gmane.org
Message-ID: <F6EE9C20-E722-4924-B8A9-FFD5D3A8B797@gmail.com>
References: <ac147cea-63cd-44c6-a1d6-ee5bef29d072@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\))
Content-Type: multipart/alternative; boundary="Apple-Mail=_6A8AC0D9-5B26-4D4F-A7A0-1A527F56086C"
X-Trace: ger.gmane.org 1420977312 15936 80.91.229.3 (11 Jan 2015 11:55:12 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sun, 11 Jan 2015 11:55:12 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCW25A7E3QCRBE6JZGSQKGQETV2PBMY@isocpp.org Sun Jan 11 12:55:06 2015
Return-path: <std-proposals+bncBCW25A7E3QCRBE6JZGSQKGQETV2PBMY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pd0-f198.google.com ([209.85.192.198])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCW25A7E3QCRBE6JZGSQKGQETV2PBMY@isocpp.org>)
	id 1YAH6j-0004CK-J6
	for gclcip-std-proposals@m.gmane.org; Sun, 11 Jan 2015 12:55:01 +0100
Original-Received: by mail-pd0-f198.google.com with SMTP id fp1sf150872051pdb.1
        for <gclcip-std-proposals@m.gmane.org>; Sun, 11 Jan 2015 03:55:00 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:content-type:message-id:mime-version
         :subject:date:references:to:in-reply-to:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe;
        bh=H4jCMcHE0uEzdz5crKnQDFQWOpsGA2cUZl2cgTLdT0E=;
        b=fFBPPQtznepP9BVstwGfAUXEWdmcx5+HNZ7jbCLwXhxWJGFkLRLWGKxjy9+jjOZVgR
         2N4qqvy3P2tUamwZRdHLWLk24mFWsytnXQKZOIHPH5FEYVaUOCIAIjMPPrqXRqv+qz7s
         hRFZtaijGfvGwVjOct+aPftcBto8NfWXYSnl/xEdlzZg6CSiUPOXZWI8nTnrLTX2dEKh
         RWnC1ftArWscxP1zf39hpYS3qojFt/o6CnUmtqHf27HFcigHV1VSve2+ZR3G0J33rXbD
         bXtNjxjnX5+17hPxIK/Z04ldECFdbVmYcAp3yYzzobIf3Hi3DjiH6kea2618mxO/RYfq
         V16g==
X-Gm-Message-State: ALoCoQk0yAcXjUE55eg63+YIrCIyigW8rt+Z72Yl+6oTpd5Uk5YQFg6ZkGLQzDvDborifOxlexAa
X-Received: by 10.66.156.2 with SMTP id wa2mr19124379pab.26.1420977300689;
        Sun, 11 Jan 2015 03:55:00 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.107.135.137 with SMTP id r9ls1653503ioi.30.gmail; Sun, 11 Jan
 2015 03:54:59 -0800 (PST)
X-Received: by 10.68.69.48 with SMTP id b16mr36344083pbu.59.1420977299849;
        Sun, 11 Jan 2015 03:54:59 -0800 (PST)
Original-Received: from mail-pd0-x22d.google.com (mail-pd0-x22d.google.com. [2607:f8b0:400e:c02::22d])
        by mx.google.com with ESMTPS id pv3si19974166pbb.141.2015.01.11.03.54.59
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Sun, 11 Jan 2015 03:54:59 -0800 (PST)
Received-SPF: pass (google.com: domain of potswa@gmail.com designates 2607:f8b0:400e:c02::22d as permitted sender) client-ip=2607:f8b0:400e:c02::22d;
Original-Received: by mail-pd0-f173.google.com with SMTP id ft15so25756377pdb.4
        for <std-proposals@isocpp.org>; Sun, 11 Jan 2015 03:54:59 -0800 (PST)
X-Received: by 10.66.132.44 with SMTP id or12mr36982740pab.42.1420977299698;
        Sun, 11 Jan 2015 03:54:59 -0800 (PST)
Original-Received: from [172.20.10.2] ([121.54.44.93])
        by mx.google.com with ESMTPSA id pw9sm6716246pdb.26.2015.01.11.03.54.57
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Sun, 11 Jan 2015 03:54:58 -0800 (PST)
In-Reply-To: <ac147cea-63cd-44c6-a1d6-ee5bef29d072@isocpp.org>
X-Mailer: Apple Mail (2.1993)
X-Original-Sender: potswa@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of potswa@gmail.com designates 2607:f8b0:400e:c02::22d as permitted
 sender) smtp.mail=potswa@gmail.com;       dkim=pass header.i=@gmail.com;
       dmarc=pass (p=NONE dis=NONE) header.from=gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Google-Group-Id: 399137483710
List-Post: <http://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:15574
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/15574>

--Apple-Mail=_6A8AC0D9-5B26-4D4F-A7A0-1A527F56086C
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=UTF-8


> On 2015=E2=80=9301=E2=80=9311, at 3:01 AM, Arthur O'Dwyer <arthur.j.odwye=
r@gmail.com> wrote:
>=20
> I've got a rough draft of a proposal for the next meeting in May, and wou=
ld like to hear anyone's feedback on the format and content before then.

There could be an rvalue-qualified overload of unlock() which does the rese=
t automatically.

auto wptr =3D std::move( sptr ).unlock();

--=20

---=20
You received this message because you are subscribed to the Google Groups "=
ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposa=
ls/.

--Apple-Mail=_6A8AC0D9-5B26-4D4F-A7A0-1A527F56086C
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html charset=
=3Dutf-8"></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space;" class=3D""><br class=3D""><di=
v><blockquote type=3D"cite" class=3D""><div class=3D"">On 2015=E2=80=9301=
=E2=80=9311, at 3:01 AM, Arthur O'Dwyer &lt;<a href=3D"mailto:arthur.j.odwy=
er@gmail.com" class=3D"">arthur.j.odwyer@gmail.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" class=
=3D""><div class=3D"">I've got a rough draft of a proposal for the next mee=
ting in May, and would like to hear anyone's feedback on the format and con=
tent before then.</div></div></div></blockquote><div><br class=3D""></div><=
div>There could be an rvalue-qualified overload of <font face=3D"Courier" c=
lass=3D"">unlock()</font> which does the reset automatically.</div><div><br=
 class=3D""></div><div><font face=3D"Courier" class=3D"">auto wptr =3D std:=
:move( sptr ).unlock();</font></div></div></body></html>

<p></p>

-- <br />
<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

--Apple-Mail=_6A8AC0D9-5B26-4D4F-A7A0-1A527F56086C--

.
