220 11798 <CAFk2RUZ-DqEcMeehjH8KedYgErxKMq4O9kmeN4FZzjkXMYSsiw@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 12:01:14 +0300
Lines: 23
Approved: news@gmane.org
Message-ID: <CAFk2RUZ-DqEcMeehjH8KedYgErxKMq4O9kmeN4FZzjkXMYSsiw@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>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
X-Trace: ger.gmane.org 1404982883 6550 80.91.229.3 (10 Jul 2014 09:01:23 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Thu, 10 Jul 2014 09:01:23 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC5JHI7A7ALRBWVM7GOQKGQEVX5E3RA@isocpp.org Thu Jul 10 11:01:17 2014
Return-path: <std-proposals+bncBC5JHI7A7ALRBWVM7GOQKGQEVX5E3RA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-qg0-f71.google.com ([209.85.192.71])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC5JHI7A7ALRBWVM7GOQKGQEVX5E3RA@isocpp.org>)
	id 1X5AE7-00061I-U1
	for gclcip-std-proposals@m.gmane.org; Thu, 10 Jul 2014 11:01:16 +0200
Original-Received: by mail-qg0-f71.google.com with SMTP id f51sf265004qge.6
        for <gclcip-std-proposals@m.gmane.org>; Thu, 10 Jul 2014 02:01:15 -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;
        bh=1wx1N9DsvZ8eOggkdn+OXOBQR6uyVCuK80OXwbKwRu4=;
        b=ePmjmLcmALXpQAgw7j4PO21GAy/PJEu2iFXoJAGjyPQ2v79RVqFnYPKI9lL/mJW3kZ
         9zXG7+0CexIrZQwY5xv8lqoCIqLDmf7GQPkDse8GP38oKGmQviXy1M8QdW6Mqi7BvJZq
         X+nyTdnhd4okxQDPedj6c2z7sWB3DElTvDKYY5fN4gniJUl1Yixyuskw0XpgV+dx1MaC
         ZskR9m/qeN3PhoRMnaoZZb+Bzoc0q71xTgdU/qqdkbzg2tXGlkU1p5CQuSgdld/iws8g
         uiLecTDFmOJXkP+n+BmQpASRpHQencH1zh0EMj8/NRrncczy9U71/p48StKuP5z1wSSk
         hrIA==
X-Gm-Message-State: ALoCoQn7te5Ql1x9j3pWBipJBLCDzsH7Dp8l2Riczmd7XtsBoKv8itk2nCpRzNwQPRUk9USL9HUc
X-Received: by 10.236.230.106 with SMTP id i100mr19321926yhq.27.1404982875152;
        Thu, 10 Jul 2014 02:01:15 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.98.11 with SMTP id n11ls6386qge.11.gmail; Thu, 10 Jul 2014
 02:01:14 -0700 (PDT)
X-Received: by 10.140.85.166 with SMTP id n35mr72409269qgd.67.1404982874471;
        Thu, 10 Jul 2014 02:01:14 -0700 (PDT)
Original-Received: from mail-qg0-x230.google.com (mail-qg0-x230.google.com [2607:f8b0:400d:c04::230])
        by mx.google.com with ESMTPS id b3si63191368qak.97.2014.07.10.02.01.14
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Thu, 10 Jul 2014 02:01:14 -0700 (PDT)
Received-SPF: pass (google.com: domain of ville.voutilainen@gmail.com designates 2607:f8b0:400d:c04::230 as permitted sender) client-ip=2607:f8b0:400d:c04::230;
Original-Received: by mail-qg0-f48.google.com with SMTP id q108so7201933qgd.7
        for <std-proposals@isocpp.org>; Thu, 10 Jul 2014 02:01:14 -0700 (PDT)
X-Received: by 10.140.109.118 with SMTP id k109mr73087680qgf.98.1404982874362;
 Thu, 10 Jul 2014 02:01:14 -0700 (PDT)
Original-Received: by 10.224.31.137 with HTTP; Thu, 10 Jul 2014 02:01:14 -0700 (PDT)
In-Reply-To: <A46ADDB4-C9B0-4163-81BE-900CD879D8C8@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:c04::230 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:11798
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/11798>

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.

> forward-by-reference returns are sometimes desired for performance, then add
> them under a function name like forward_*() or provide a suitable additional
> sibling to std::forward() to handle such cases. Do not foist the hack on
> everyone.


The standard library already "foists the hack" on everyone. For,
apparently, good
reasons.

-- 

--- 
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/.

.
