220 11846 <CAFk2RUawP4XLzZdFq7o8GYX9dgR5HWg4g-g7XF+JHceiFnnpCQ@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: N4078: Rvalue reference overloads for value()
 method returns object by value
Date: Fri, 11 Jul 2014 12:18:08 +0300
Lines: 20
Approved: news@gmane.org
Message-ID: <CAFk2RUawP4XLzZdFq7o8GYX9dgR5HWg4g-g7XF+JHceiFnnpCQ@mail.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>
	<66c38b61-7a95-4ace-b34f-2346bb334fb9@isocpp.org>
	<F1CBA358-0AD8-4ADD-99DA-6D00FCFE150F@gmail.com>
	<CAFk2RUZENmaMW5NwBaiF6byfhgRyPUsSmuyVjnRDhbjcfaTtQA@mail.gmail.com>
	<CC03CC1C-8487-40C8-97DF-2CA7661DAD55@gmail.com>
	<CAFk2RUa7-WTcL=XFYO8KMyU4rdpjDEfFM6n6SkUZ=SW_U7s5XQ@mail.gmail.com>
	<EF930317-EB97-402E-A3A0-CC46E7E2D998@gmail.com>
	<CAFk2RUZigiwLwFpfVXuFS8cqy38hPG3OGhGUi+iNwSYuYvyAyQ@mail.gmail.com>
	<A46ADDB4-C9B0-4163-81BE-900CD879D8C8@gmail.com>
	<CAFk2RUZ-DqEcMeehjH8KedYgErxKMq4O9kmeN4FZzjkXMYSsiw@mail.gmail.com>
	<6F4B3C72-9962-48DC-8527-0C89EA1B9710@gmail.com>
	<072cf8b4-4c74-438e-9999-0aab13bf3182@isocpp.org>
	<74CEDDAC-1B1B-4F06-9E58-2F025921FE55@gmail.com>
	<c09b91d2-e63f-4a58-954b-de49dac643de@isocpp.org>
	<A02F32A1-295C-44BA-9EB7-00C5B9B89A4C@gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Trace: ger.gmane.org 1405070297 25730 80.91.229.3 (11 Jul 2014 09:18:17 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Fri, 11 Jul 2014 09:18:17 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC5JHI7A7ALRBUGX72OQKGQEZ5AWJLQ@isocpp.org Fri Jul 11 11:18:11 2014
Return-path: <std-proposals+bncBC5JHI7A7ALRBUGX72OQKGQEZ5AWJLQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ig0-f198.google.com ([209.85.213.198])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC5JHI7A7ALRBUGX72OQKGQEZ5AWJLQ@isocpp.org>)
	id 1X5Wy2-0001WF-0F
	for gclcip-std-proposals@m.gmane.org; Fri, 11 Jul 2014 11:18:10 +0200
Original-Received: by mail-ig0-f198.google.com with SMTP id h18sf2701603igc.1
        for <gclcip-std-proposals@m.gmane.org>; Fri, 11 Jul 2014 02:18:09 -0700 (PDT)
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: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:content-transfer-encoding;
        bh=4Xe3QNGBNUHqmNcNU9XqbLPs6b+8wlapbqNmAKu/y5I=;
        b=LOBfajAA5rjWUmkPJKt23F/DzpbxzBeYfIKsaKn6CyAarAj++LozsNOQ0g++K8bORy
         nZkIMKgPsbPEDulfH+C0eO0o/spWvzsX8futRgoLlpf5cjqdDJdjOmhxH5QG+O5iqPVT
         hBaNZeCOlqueIXTVctvNrWAnOGNnQlECzztB/jyHZpsSTeBjDEkxGb6LEW9t3E8Vfix5
         WW1gFeGMLGoJDD67opmJUdeAB4QmL5mkmx4gHYX04aeil1sb0eRaq4NVI1VqJduJD+FU
         AJ9gN8618L2HzJuox7CjMV0+NnkGhU1mkmz+HAZxv64NhlMIXNIaGqmRuyRpcYTszrwm
         q5SA==
X-Gm-Message-State: ALoCoQnLcjVxord+RcYhObYgpGO08JOmPwBLEP171zXMDm1N1pGTkTkRqp9LNMm1VIJnf1xHZRcK
X-Received: by 10.42.37.71 with SMTP id x7mr1537898icd.4.1405070289069;
        Fri, 11 Jul 2014 02:18:09 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.93.101 with SMTP id c92ls325995qge.90.gmail; Fri, 11 Jul
 2014 02:18:08 -0700 (PDT)
X-Received: by 10.52.63.226 with SMTP id j2mr53341vds.43.1405070288369;
        Fri, 11 Jul 2014 02:18:08 -0700 (PDT)
Original-Received: from mail-vc0-x235.google.com (mail-vc0-x235.google.com [2607:f8b0:400c:c03::235])
        by mx.google.com with ESMTPS id zl10si1185647vdb.43.2014.07.11.02.18.08
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Fri, 11 Jul 2014 02:18:08 -0700 (PDT)
Received-SPF: pass (google.com: domain of ville.voutilainen@gmail.com designates 2607:f8b0:400c:c03::235 as permitted sender) client-ip=2607:f8b0:400c:c03::235;
Original-Received: by mail-vc0-f181.google.com with SMTP id hu12so1499961vcb.12
        for <std-proposals@isocpp.org>; Fri, 11 Jul 2014 02:18:08 -0700 (PDT)
X-Received: by 10.52.117.209 with SMTP id kg17mr42486890vdb.28.1405070288260;
 Fri, 11 Jul 2014 02:18:08 -0700 (PDT)
Original-Received: by 10.220.188.73 with HTTP; Fri, 11 Jul 2014 02:18:08 -0700 (PDT)
In-Reply-To: <A02F32A1-295C-44BA-9EB7-00C5B9B89A4C@gmail.com>
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:400c:c03::235 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:11846
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/11846>

On 10 July 2014 14:12, David Krauss <potswa@gmail.com> wrote:
> Strange, I didn=E2=80=99t realize that const& is preferred over && for a =
const
> rvalue implicit argument, but so it is. GCC even fails to prefer const&&
> over const&.


Just FYI, this has been fixed in GCC recently.

--=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/.

.
