220 11791 <E80F9866-AB18-41F2-A144-B8D388796A9F@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: N4078: Rvalue reference overloads for value()
 method returns object by value
Date: Thu, 10 Jul 2014 14:33:00 +0800
Lines: 68
Approved: news@gmane.org
Message-ID: <E80F9866-AB18-41F2-A144-B8D388796A9F@gmail.com>
References: <b538efba-faf4-4ffc-a553-302b9d2ba2c0@isocpp.org> <CANh-dX=M7niArNp-1sCcqxaREEJSxmjMftgw7uMHN9YnZC-h+w@mail.gmail.com> <4DA018C3-2327-4F55-B7F8-7988EC7B789A@gmail.com> <1a858a77-310b-4591-aaf5-960c40d9f5fc@isocpp.org> <66AF41C1-CB37-4311-98EA-D47DBC6068DC@gmail.com> <CAFk2RUa5foB0ySVSjfc3t6cBOWE-+Qt76jnRv3X=FHP6ntpPjw@mail.gmail.com> <F80F564C-1208-4A65-AA1F-382144A3D16A@gmail.com> <CAFk2RUYEdZn6t72-ajwY2z4PVLN_wQc12EMX3ycVS12p6+QYxA@mail.gmail.com> <3EF9F5C2-EF9D-4DC5-9F53-82CA1155D4DF@gmail.com> <CAFk2RUbCjbgvpZ00AVPA=dk61YkUtpo=U9ZXrHf7QXSDh1dgjQ@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
Content-Type: multipart/alternative; boundary="Apple-Mail=_031FECB8-89A6-4AF4-96C3-ED0075F4423F"
X-Trace: ger.gmane.org 1404973997 2107 80.91.229.3 (10 Jul 2014 06:33:17 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Thu, 10 Jul 2014 06:33:17 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCW25A7E3QCRBIPH7COQKGQEQP47ZFY@isocpp.org Thu Jul 10 08:33:10 2014
Return-path: <std-proposals+bncBCW25A7E3QCRBIPH7COQKGQEQP47ZFY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pd0-f199.google.com ([209.85.192.199])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCW25A7E3QCRBIPH7COQKGQEQP47ZFY@isocpp.org>)
	id 1X57ul-00033J-PO
	for gclcip-std-proposals@m.gmane.org; Thu, 10 Jul 2014 08:33:08 +0200
Original-Received: by mail-pd0-f199.google.com with SMTP id r10sf53176293pdi.10
        for <gclcip-std-proposals@m.gmane.org>; Wed, 09 Jul 2014 23:33:06 -0700 (PDT)
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=J41gvSPZ9MlSNBbDlKJfzU/1Q+WFwBPWXHHiswdoTTM=;
        b=Yi1+05IIi0jE0o2curUg5c/RekHfvmPUL/BKYqdCMLKKavHOSJ7qJQvbzEFnVxNWcu
         jtqktjYrY7miHUknm1xo0G6RzGI4lpXCvsuPJAu7QaKgZuozN3JMGkKdHDVVCXVepruA
         UrrtzFQVMBB1tC+tv0U2Shtdlh6Nqr0ekBricmbvVQy2x/9rf+tMTwcv+kDdcm/mkEer
         paPcJPdkssQVjKAQ5I2hFyvGyZG+XC2S4QzR/v6ahgJaOkMK9HFN9A/OLZAnC+P1Upx4
         jkWetP3V0bXYZQDgUn4qfOX/tpA2g2hjIu2gmonsXClXKA5hv4aZ5m0uG6YLVtUXJ/Wh
         +8Ow==
X-Gm-Message-State: ALoCoQlF5VAI/iyEYTQS0aeMfkBrO7O7rPG0wqWiVgYVK24+dtDAjC+0WZ+pWI0ynlpc93tKwzhz
X-Received: by 10.66.129.139 with SMTP id nw11mr5423642pab.35.1404973986403;
        Wed, 09 Jul 2014 23:33:06 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.50.79.135 with SMTP id j7ls1339254igx.6.canary; Wed, 09 Jul
 2014 23:33:05 -0700 (PDT)
X-Received: by 10.42.107.75 with SMTP id c11mr2327006icp.60.1404973985574;
        Wed, 09 Jul 2014 23:33:05 -0700 (PDT)
Original-Received: from mail-ie0-x22f.google.com (mail-ie0-x22f.google.com [2607:f8b0:4001:c03::22f])
        by mx.google.com with ESMTPS id p8si38562048icv.22.2014.07.09.23.33.05
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Wed, 09 Jul 2014 23:33:05 -0700 (PDT)
Received-SPF: pass (google.com: domain of potswa@gmail.com designates 2607:f8b0:4001:c03::22f as permitted sender) client-ip=2607:f8b0:4001:c03::22f;
Original-Received: by mail-ie0-f175.google.com with SMTP id tp5so1320244ieb.20
        for <std-proposals@isocpp.org>; Wed, 09 Jul 2014 23:33:05 -0700 (PDT)
X-Received: by 10.43.79.71 with SMTP id zp7mr51706072icb.38.1404973985479;
        Wed, 09 Jul 2014 23:33:05 -0700 (PDT)
Original-Received: from [172.20.10.2] ([121.54.54.63])
        by mx.google.com with ESMTPSA id ro10sm2499704igb.18.2014.07.09.23.33.04
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Wed, 09 Jul 2014 23:33:05 -0700 (PDT)
In-Reply-To: <CAFk2RUbCjbgvpZ00AVPA=dk61YkUtpo=U9ZXrHf7QXSDh1dgjQ@mail.gmail.com>
X-Mailer: Apple Mail (2.1878.6)
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:4001:c03::22f 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:11791
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/11791>

--Apple-Mail=_031FECB8-89A6-4AF4-96C3-ED0075F4423F
Content-Type: text/plain; charset=ISO-8859-1


On 2014-07-10, at 2:27 PM, Ville Voutilainen <ville.voutilainen@gmail.com> wrote:

> On 10 July 2014 09:22, David Krauss <potswa@gmail.com> wrote:
>> 
>> Which part? Name three functions that return an rvalue reference. There's
>> move(), forward(), and ??? .
> 
> get() from a pair rvalue, get() from a tuple rvalue, get() from an array rvalue.

Sounds like a defect. Any more I should know about? This is interesting.

It's interesting that the standard library provides these quiet moves, without a corresponding value() function to accept an rvalue reference and assume ownership.

-- 

--- 
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=_031FECB8-89A6-4AF4-96C3-ED0075F4423F
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 2014&=
ndash;07&ndash;10, at 2:27 PM, Ville Voutilainen &lt;<a href=3D"mailto:vill=
e.voutilainen@gmail.com">ville.voutilainen@gmail.com</a>&gt; wrote:</div><b=
r class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div style=
=3D"font-size: 12px; font-style: normal; font-variant: normal; font-weight:=
 normal; letter-spacing: normal; line-height: normal; orphans: auto; text-a=
lign: start; text-indent: 0px; text-transform: none; white-space: normal; w=
idows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">On 10 July=
 2014 09:22, David Krauss &lt;<a href=3D"mailto:potswa@gmail.com">potswa@gm=
ail.com</a>&gt; wrote:<br><blockquote type=3D"cite"><br>Which part? Name th=
ree functions that return an rvalue reference. There&rsquo;s<br>move(), for=
ward(), and ??? .<br></blockquote><br>get() from a pair rvalue, get() from =
a tuple rvalue, get() from an array rvalue.<br></div></blockquote></div><br=
><div>Sounds like a defect. Any more I should know about? This is interesti=
ng.</div><div><br></div><div>It&rsquo;s interesting that the standard libra=
ry provides these quiet moves, without a corresponding value() function to =
accept an rvalue reference and assume ownership.</div><div><br></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=_031FECB8-89A6-4AF4-96C3-ED0075F4423F--

.
