220 15569 <CAFk2RUZRp6rcAqi_J10YO-XONa8hJ0zFULOuetuBPWw18vTd2A@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Ville Voutilainen <ville.voutilainen@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: RFC: Adding Symmetry Between shared_ptr and weak_ptr
Date: Sat, 10 Jan 2015 21:10:57 +0200
Lines: 24
Approved: news@gmane.org
Message-ID: <CAFk2RUZRp6rcAqi_J10YO-XONa8hJ0zFULOuetuBPWw18vTd2A@mail.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
Content-Type: text/plain; charset=UTF-8
X-Trace: ger.gmane.org 1420917065 30985 80.91.229.3 (10 Jan 2015 19:11:05 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sat, 10 Jan 2015 19:11:05 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC5JHI7A7ALRBQXSYWSQKGQEW6LECZI@isocpp.org Sat Jan 10 20:11:01 2015
Return-path: <std-proposals+bncBC5JHI7A7ALRBQXSYWSQKGQEW6LECZI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pa0-f72.google.com ([209.85.220.72])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC5JHI7A7ALRBQXSYWSQKGQEW6LECZI@isocpp.org>)
	id 1YA1R6-0003dr-85
	for gclcip-std-proposals@m.gmane.org; Sat, 10 Jan 2015 20:11:00 +0100
Original-Received: by mail-pa0-f72.google.com with SMTP id kq14sf142213888pab.3
        for <gclcip-std-proposals@m.gmane.org>; Sat, 10 Jan 2015 11:10:59 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:in-reply-to:references:date
         :message-id:subject:from:to:content-type: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=xN/gfrIGdt6gDSBw1Czx0KCTm7m64cZMc1qx34VVKek=;
        b=Jea/5rbaiGQQDP6yykelOwIHnK9uCoyLnqbo5ZYXcjz5zJ38Tzpqx8FmL01RF3uP8A
         GRqlf/pKGWI0QDFcOsBvMsPYv5y4f7iIBgD77awN3O58Ww6TDTMX7Bb3iZs4fGtSoPTc
         6E3FVtf/gUODTjD9uKxqgKeaSqtMLxKeXI///nTSJ3f3NR9VbL9739VoLZyRrQfYNWss
         4qCTNZkzeX1SzCxlkdjq8YGUmRG58A0++rWpVE3rghjMAeg25IU96aF6z5muOEvQd/zT
         +QkzABhQELRlF9OzSuFiCRUPfwmp184nbQuLIJkogcs/rMvimOONzeH8ZpKuv0CTYAtl
         zecw==
X-Gm-Message-State: ALoCoQmbb0URDJ+z29VzlyG9gyz+EwujRuY5EoeinLPflEQyceULW91fhuIxHCTLo+XuEOBezYY0
X-Received: by 10.66.142.12 with SMTP id rs12mr16053107pab.36.1420917059165;
        Sat, 10 Jan 2015 11:10:59 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.182.142.100 with SMTP id rv4ls744418obb.84.gmail; Sat, 10 Jan
 2015 11:10:58 -0800 (PST)
X-Received: by 10.182.1.172 with SMTP id 12mr13249466obn.6.1420917058245;
        Sat, 10 Jan 2015 11:10:58 -0800 (PST)
Original-Received: from mail-oi0-x234.google.com (mail-oi0-x234.google.com. [2607:f8b0:4003:c06::234])
        by mx.google.com with ESMTPS id cn3si7646068oeb.91.2015.01.10.11.10.58
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Sat, 10 Jan 2015 11:10:58 -0800 (PST)
Received-SPF: pass (google.com: domain of ville.voutilainen@gmail.com designates 2607:f8b0:4003:c06::234 as permitted sender) client-ip=2607:f8b0:4003:c06::234;
Original-Received: by mail-oi0-f52.google.com with SMTP id a3so16025285oib.11
        for <std-proposals@isocpp.org>; Sat, 10 Jan 2015 11:10:58 -0800 (PST)
X-Received: by 10.202.196.206 with SMTP id u197mr12333783oif.21.1420917058012;
 Sat, 10 Jan 2015 11:10:58 -0800 (PST)
Original-Received: by 10.76.154.2 with HTTP; Sat, 10 Jan 2015 11:10:57 -0800 (PST)
In-Reply-To: <ac147cea-63cd-44c6-a1d6-ee5bef29d072@isocpp.org>
X-Original-Sender: ville.voutilainen@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of ville.voutilainen@gmail.com designates 2607:f8b0:4003:c06::234 as
 permitted sender) smtp.mail=ville.voutilainen@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:15569
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/15569>

On 10 January 2015 at 21:01, Arthur O'Dwyer <arthur.j.odwyer@gmail.com> wrote:
> I've got a rough draft of a proposal for the next meeting in May, and would
> like to hear anyone's feedback on the format and content before then.
>
> https://quuxplusone.github.io/draft/Nweak_ptr_proposal.html
>
> The TL;DR is that it proposes two very small new library features:
> - shared_ptr::unlock(), which turns a shared_ptr into a weak_ptr, symmetric
> with weak_ptr::lock()
> - An two-argument constructor for weak_ptr(), symmetric with shared_ptr's
> two-argument constructor


Looks good to me, I found the rationale (and the whole proposal) very
reasonable and well-written.

-- 

--- 
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 email 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-proposals/.

.
