220 9496 <2F5342AA-3A04-4AE8-AE2E-09986532631E@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: Feedback on N3949 - Scoped Resource - Generic
 RAII Wrapper for the Standard Library
Date: Mon, 3 Mar 2014 02:17:35 +0800
Lines: 54
Approved: news@gmane.org
Message-ID: <2F5342AA-3A04-4AE8-AE2E-09986532631E@gmail.com>
References: <CAFk2RUbEtKVv59CzdT-qittbwk64Z=cKBFkP__Z8_kdoPSa5Vg@mail.gmail.com> <67F4693D-4473-4700-A60E-8C434D55E226@gmail.com> <CAFk2RUafGLPR+o1hFtBJjS7Ho0Ms1_q-Mtazsf5jp8CFF-5qqA@mail.gmail.com> <C06AD35E-4462-4868-834D-0F105538621D@gmail.com> <CAFk2RUZM=mtwYc6W5N27ZMVypW8dpBM542pTCNdRxhZLepDP0A@mail.gmail.com> <046BD86D-F427-492C-8F6A-14F448806E3D@gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
Content-Type: multipart/alternative; boundary="Apple-Mail=_745E6FE7-7BF1-4747-9DBD-60E7412237C2"
X-Trace: ger.gmane.org 1393784254 5021 80.91.229.3 (2 Mar 2014 18:17:34 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sun, 2 Mar 2014 18:17:34 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCW25A7E3QCRBRHLZWMAKGQEKRGTBFY@isocpp.org Sun Mar 02 19:17:43 2014
Return-path: <std-proposals+bncBCW25A7E3QCRBRHLZWMAKGQEKRGTBFY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ie0-f199.google.com ([209.85.223.199])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCW25A7E3QCRBRHLZWMAKGQEKRGTBFY@isocpp.org>)
	id 1WKAxK-0001OU-H5
	for gclcip-std-proposals@m.gmane.org; Sun, 02 Mar 2014 19:17:42 +0100
Original-Received: by mail-ie0-f199.google.com with SMTP id rl12sf10243293iec.10
        for <gclcip-std-proposals@m.gmane.org>; Sun, 02 Mar 2014 10:17:41 -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: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:content-type;
        bh=Gs2RnSM2WWX7SxhzRKKCAMLW0YkFM+l4fl/XESAX7dA=;
        b=QACe6zUcL5TBhMLItipLXlDFFxt3wqGM8u6hphqD4QFabQ4mw6qfEEJ9eZ0Vd06OiG
         09/59PE4xtrqjgrwgPuHVZNlm+rkY/EmPaBEnro3edbnCOsy3ifooEPHgP003fFguYeY
         fpFfKKlUXOG0LnnvIUPS7Ed4o7yUVMNjBH/fWHwSZ46pY9mMvas6PrDcH0D2efn5WjZ+
         6xpSpvZ0tdLooY3DY9Bdp+xiquyNt0BErFTW+fkHpvM9HBBV0OSym7xElWJ4vgAZWc3q
         sgwdZYoM3pxcoHIAO1XsXNfh2qnnbk0XJbbswlye9c+Yfp1/RLbjXJQPtKjWgEDEUO3M
         +3/g==
X-Gm-Message-State: ALoCoQlEFfOW6F9sOrXyOpFD/S+vDM5TF+58Bv7RSh4fXOwCIG1VmSiL1uN6o96cLU/DC8GldKKT
X-Received: by 10.182.216.200 with SMTP id os8mr12245721obc.0.1393784261453;
        Sun, 02 Mar 2014 10:17:41 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.51.15.229 with SMTP id fr5ls1589842igd.5.canary; Sun, 02 Mar
 2014 10:17:40 -0800 (PST)
X-Received: by 10.68.239.70 with SMTP id vq6mr716268pbc.152.1393784260646;
        Sun, 02 Mar 2014 10:17:40 -0800 (PST)
Original-Received: from mail-pb0-x22b.google.com (mail-pb0-x22b.google.com [2607:f8b0:400e:c01::22b])
        by mx.google.com with ESMTPS id yn4si8043900pab.168.2014.03.02.10.17.40
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Sun, 02 Mar 2014 10:17:40 -0800 (PST)
Received-SPF: pass (google.com: domain of potswa@gmail.com designates 2607:f8b0:400e:c01::22b as permitted sender) client-ip=2607:f8b0:400e:c01::22b;
Original-Received: by mail-pb0-f43.google.com with SMTP id um1so2833576pbc.16
        for <std-proposals@isocpp.org>; Sun, 02 Mar 2014 10:17:40 -0800 (PST)
X-Received: by 10.68.249.34 with SMTP id yr2mr4887697pbc.11.1393784260558;
        Sun, 02 Mar 2014 10:17:40 -0800 (PST)
Original-Received: from [172.20.10.2] ([121.54.54.55])
        by mx.google.com with ESMTPSA id xs1sm66609045pac.7.2014.03.02.10.17.37
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Sun, 02 Mar 2014 10:17:39 -0800 (PST)
In-Reply-To: <046BD86D-F427-492C-8F6A-14F448806E3D@gmail.com>
X-Mailer: Apple Mail (2.1874)
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:c01::22b 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: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:9496
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/9496>

--Apple-Mail=_745E6FE7-7BF1-4747-9DBD-60E7412237C2
Content-Type: text/plain; charset=ISO-8859-1


On Mar 3, 2014, at 2:14 AM, David Krauss <potswa@gmail.com> wrote:

>  int operator->() { return r; } 

Wait-a-minute. The return type needs to be R & if it's going to work with class type. (This is a separate bug in the proposal, irrelevant to the int case.)

-- 

--- 
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/.

--Apple-Mail=_745E6FE7-7BF1-4747-9DBD-60E7412237C2
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=ISO-8859-1

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html charset=
=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; -webkit-nbsp-=
mode: space; -webkit-line-break: after-white-space;"><br><div><div>On Mar 3=
, 2014, at 2:14 AM, David Krauss &lt;<a href=3D"mailto:potswa@gmail.com">po=
tswa@gmail.com</a>&gt; wrote:</div><br class=3D"Apple-interchange-newline">=
<blockquote type=3D"cite"><meta http-equiv=3D"Content-Type" content=3D"text=
/html charset=3Dwindows-1252"><div style=3D"word-wrap: break-word; -webkit-=
nbsp-mode: space; -webkit-line-break: after-white-space;">&nbsp;<font face=
=3D"Courier">int operator-&gt;() { return r; }</font>&nbsp;</div></blockquo=
te><br></div><div>Wait-a-minute. The return type needs to be <font face=3D"=
Courier">R &amp;</font> if it&rsquo;s going to work with class type. (This =
is a separate bug in the proposal, irrelevant to the <font face=3D"Courier"=
>int</font> case.)</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=_745E6FE7-7BF1-4747-9DBD-60E7412237C2--

.
