220 15404 <a77d1011-3377-44aa-a471-37cff83bffdc@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: Ramkumar Revanur <write2ramkumar@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: get count of std::weak_ptr objects tracking a
 shared resource
Date: Tue, 30 Dec 2014 11:16:33 -0800 (PST)
Lines: 80
Approved: news@gmane.org
Message-ID: <a77d1011-3377-44aa-a471-37cff83bffdc@isocpp.org>
References: <a9c1d3d5-761d-44df-b722-ae649440ea77@isocpp.org>
 <38379535.fdbaY7af1L@tjmaciei-mobl4>
 <CAFk2RUYvc+C1sbCPHCEqs2EY5920emMqHkkMziCznhEEcDNdTA@mail.gmail.com>
 <2966691.aBn0dNKpSk@tjmaciei-mobl4>
 <CAFk2RUYJr6wEFAEON5Xycq3uDmeEEoPt_pAz+2eVunH+5wMjbA@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_6456_1303267363.1419966994013"
X-Trace: ger.gmane.org 1419967006 2625 80.91.229.3 (30 Dec 2014 19:16:46 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Tue, 30 Dec 2014 19:16:46 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCD4HFPP7UBRBE7UROSQKGQELQHST7A@isocpp.org Tue Dec 30 20:16:40 2014
Return-path: <std-proposals+bncBCD4HFPP7UBRBE7UROSQKGQELQHST7A@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ig0-f197.google.com ([209.85.213.197])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCD4HFPP7UBRBE7UROSQKGQELQHST7A@isocpp.org>)
	id 1Y62HU-0006CU-Ch
	for gclcip-std-proposals@m.gmane.org; Tue, 30 Dec 2014 20:16:36 +0100
Original-Received: by mail-ig0-f197.google.com with SMTP id r2sf86398579igi.8
        for <gclcip-std-proposals@m.gmane.org>; Tue, 30 Dec 2014 11:16:35 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :content-type:x-original-sender:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe;
        bh=Di68Hq2ZWo84mnkdWbFgroEZ6n84qHUvuDGzNL/p1js=;
        b=Se2zm7ZMC0BJi3ivSUsvWqI+LgNatVxmENTNAJioSjgU2x14lzZI+cMua5tfETEKxm
         7OaDXZrzfno5ac3JdEwqMBSqXccuNNHIf3FJsBkB4/EsJ1g3Zw883c9xYMV3pqY/tBzi
         BlZFjXQA7TRy+i6xLkRcpI5m/Qpi0G0/exLlWAhSTcwxPf55w+r/ncqStPdcrUDsQD3L
         7i/EkdiIWXn2V0guMLZP6nTIVmHLa/T1PgyvJLl+lFhIiGbf6hD9R5+ehT079hEhdVOj
         jGNjhg+JxCdJfGX6Gbmv4jfAWSfaxuv5mf5ZylKfPpNcnNDSfHdynAM9w3BC4KDXI3cr
         Ujyw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:date:from:to:message-id:in-reply-to:references
         :subject:mime-version:content-type:x-original-sender:reply-to
         :precedence:mailing-list:list-id:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=Di68Hq2ZWo84mnkdWbFgroEZ6n84qHUvuDGzNL/p1js=;
        b=XBeUu+QTo2RBsaxwfxdnKlT205IcQDSRpjS600/jI4LLwqE8Hi4fbNF4HgXONwjxr5
         jAOHXL8B7DgOhQPHykeq42JH6NLPUe8NnQr5Stp/q8xp+9u2cuCkYOHMgcM2MwBhkhSC
         W/L4bs1XtrVXUcXI0GM4ftcew7iZKX44LKgX/2oqOjuMu5ii4+o9CBZy3oEdIAdFPySp
         XMVVj2SAG4dQ/Ec1x01cPkilG7fvG5SpS2Xq8W7nMQ+QlFyE/Vgpm0eALk3u1R2mRvk2
         5v5G5GYapc9x3CghoqqMWC0zxPvCnBGrLzWfE0W+slDdSzX0BsXotSmAduLqWoRUQBPu
         M1fw==
X-Gm-Message-State: ALoCoQlN3r7ns0pKe6Xdz7o3QOu9+Fn/SLmLLpQZ43B0bAaCO80kPxbeMxhIRpyWswHOLVbqUcHH
X-Received: by 10.50.253.196 with SMTP id ac4mr23330240igd.7.1419966995483;
        Tue, 30 Dec 2014 11:16:35 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.107.154.196 with SMTP id c187ls6083253ioe.109.gmail; Tue, 30
 Dec 2014 11:16:35 -0800 (PST)
X-Received: by 10.50.79.170 with SMTP id k10mr28474igx.5.1419966995024;
        Tue, 30 Dec 2014 11:16:35 -0800 (PST)
In-Reply-To: <CAFk2RUYJr6wEFAEON5Xycq3uDmeEEoPt_pAz+2eVunH+5wMjbA@mail.gmail.com>
X-Original-Sender: write2ramkumar@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:15404
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/15404>

------=_Part_6456_1303267363.1419966994013
Content-Type: multipart/alternative; 
	boundary="----=_Part_6457_1828854188.1419966994013"

------=_Part_6457_1828854188.1419966994013
Content-Type: text/plain; charset=UTF-8

On #1, Does it help if more scenarios where this can be used is presented.

On #4, I am happy to look in to MS implementation and get back.

 

> Now, getting back to the original proposal: 
> 1) I don't think its motivation is very strong 
> 2) I don't think the atomicity argument is a deal-breaker 
> 3) I'm not overly concerned about compatibility breaks 
> 4) HOWEVER, concerning (3): I would certainly like to know whether 
> libc++, libstdc++ and Dinkumware/Microsoft already have a suitable 
> shared_weak 
> count and whether the implementation of the proposal is just a matter 
> of exposing what Howard outlined. 
>
> Without the survey in (4), I don't think the proposal should go 
> forward. The other 
> concerns become much more surmountable of (4) doesn't present problems. 
>

-- 

--- 
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/.

------=_Part_6457_1828854188.1419966994013
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>On #1, Does it help if more scenarios where this can =
be used is presented.</div><div><br></div><div>On #4, I am happy to look in=
 to MS implementation and get back.<br></div><div><br></div><div>&nbsp;</di=
v><blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;b=
order-left: 1px #ccc solid;padding-left: 1ex;">Now, getting back to the ori=
ginal proposal:
<br>1) I don't think its motivation is very strong
<br>2) I don't think the atomicity argument is a deal-breaker
<br>3) I'm not overly concerned about compatibility breaks
<br>4) HOWEVER, concerning (3): I would certainly like to know whether
<br>libc++, libstdc++ and Dinkumware/Microsoft already have a suitable shar=
ed_weak
<br>count and whether the implementation of the proposal is just a matter
<br>of exposing
what Howard outlined.
<br>
<br>Without the survey in (4), I don't think the proposal should go
<br>forward. The other
<br>concerns become much more surmountable of (4) doesn't present problems.
<br></blockquote></div>

<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 />

------=_Part_6457_1828854188.1419966994013--
------=_Part_6456_1303267363.1419966994013--

.
