220 11806 <CAFk2RUb5xynaoQx-j4cQuXC8t-0GGc9-CZyRA2V=j6cfuNQV=g@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: Thu, 10 Jul 2014 16:25:57 +0300
Lines: 39
Approved: news@gmane.org
Message-ID: <CAFk2RUb5xynaoQx-j4cQuXC8t-0GGc9-CZyRA2V=j6cfuNQV=g@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>
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 1404998768 12741 80.91.229.3 (10 Jul 2014 13:26:08 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Thu, 10 Jul 2014 13:26:08 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC5JHI7A7ALRBZVI7KOQKGQE654F2HY@isocpp.org Thu Jul 10 15:26:01 2014
Return-path: <std-proposals+bncBC5JHI7A7ALRBZVI7KOQKGQE654F2HY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pd0-f198.google.com ([209.85.192.198])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC5JHI7A7ALRBZVI7KOQKGQE654F2HY@isocpp.org>)
	id 1X5EMK-0004Aa-4f
	for gclcip-std-proposals@m.gmane.org; Thu, 10 Jul 2014 15:26:00 +0200
Original-Received: by mail-pd0-f198.google.com with SMTP id y10sf55151891pdj.1
        for <gclcip-std-proposals@m.gmane.org>; Thu, 10 Jul 2014 06:25:59 -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=M/QiEfdtD6MG8Kz5jK9Dr6aUbQ/ev/HpEaMgxZTEPoU=;
        b=XGbNtfCPJYm8o02gNM9lTm0Son2FGhj0p2cvy7/GQ4z4JlKx7PNJUnIMKUCve17ke5
         vbqgNsGPOy8nSERVUP+oMfE5CcRFJdvvZ41VwKQccKtJqIXExMa6hjzPq5fvJuykDdB7
         UJsTY0lNwpKyAks/mkCtjxusQ2ZFIpCUL56iqvY+0wFXST3FJ7wlufNVFgFY/jWO7hb6
         fEpVn41XJfJ9B1ySYYRFJj0lCa//1K2GZkPg9dLt0sPuVu3Jok3d/6eB/xbZwM6EoUjT
         pPdAOFMDuTAN9GFnNoO0FEb3i40V/siuCuHmEVDsMcJER3f1TWoCLdysQs++oRDNT2us
         IORA==
X-Gm-Message-State: ALoCoQlR+Zf0OUKc7sLxGHH+nAtkuMmPFaNkd/wQzpH3aJeCqdb/67Oo1hi5ww+51XirSdOoLQDf
X-Received: by 10.66.121.2 with SMTP id lg2mr12562799pab.43.1404998759072;
        Thu, 10 Jul 2014 06:25:59 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.48.112 with SMTP id n103ls58035qga.86.gmail; Thu, 10 Jul
 2014 06:25:58 -0700 (PDT)
X-Received: by 10.140.50.50 with SMTP id r47mr58866887qga.96.1404998758152;
        Thu, 10 Jul 2014 06:25:58 -0700 (PDT)
Original-Received: from mail-qc0-x235.google.com (mail-qc0-x235.google.com [2607:f8b0:400d:c01::235])
        by mx.google.com with ESMTPS id a5si43742911qge.60.2014.07.10.06.25.58
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Thu, 10 Jul 2014 06:25:58 -0700 (PDT)
Received-SPF: pass (google.com: domain of ville.voutilainen@gmail.com designates 2607:f8b0:400d:c01::235 as permitted sender) client-ip=2607:f8b0:400d:c01::235;
Original-Received: by mail-qc0-f181.google.com with SMTP id x13so7864892qcv.40
        for <std-proposals@isocpp.org>; Thu, 10 Jul 2014 06:25:58 -0700 (PDT)
X-Received: by 10.140.20.98 with SMTP id 89mr74296048qgi.33.1404998757998;
 Thu, 10 Jul 2014 06:25:57 -0700 (PDT)
Original-Received: by 10.224.31.137 with HTTP; Thu, 10 Jul 2014 06:25:57 -0700 (PDT)
In-Reply-To: <6F4B3C72-9962-48DC-8527-0C89EA1B9710@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:400d:c01::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:11806
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/11806>

On 10 July 2014 12:03, David Krauss <potswa@gmail.com> wrote:
>
> On 2014=E2=80=9307=E2=80=9310, at 5:01 PM, Ville Voutilainen <ville.vouti=
lainen@gmail.com>
> wrote:
>
> On 10 July 2014 11:58, David Krauss <potswa@gmail.com> wrote:
>
> Risky micro-optimization should never be the default. If
>
>
> It's not a micro-optimization.
>
>
> Eliminating one move is a micro-optimization.

No it is not. For legacy types with user-provided copy operations or a
user-provided
destructor, that move is a copy. It is not a micro-optimization
regardless of how
many times you want to repeat your uneducated position.

The rvalue-ref-qualified signatures need to return T&& instead of T.
LEWG needs an NB comment
to be able to make that fix for Fundamentals v1, and I'm going to provide t=
hem
with one.

--=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/.

.
