220 14927 <CAFk2RUaHUAZAQ-GdEHRCWxLhF7rzaj=s=pe_xRzzZpfzcBaujw@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: Re: Earlier creation of function return-value.
Date: Wed, 10 Dec 2014 00:53:59 +0200
Lines: 16
Approved: news@gmane.org
Message-ID: <CAFk2RUaHUAZAQ-GdEHRCWxLhF7rzaj=s=pe_xRzzZpfzcBaujw@mail.gmail.com>
References: <3c0ee2e3-8706-44b0-a3d2-985e494dd8ac@isocpp.org>
	<7e244f46-18cf-4ea0-8a6a-02473fd849e9@isocpp.org>
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 1418165648 30754 80.91.229.3 (9 Dec 2014 22:54:08 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Tue, 9 Dec 2014 22:54:08 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC5JHI7A7ALRBB73TWSAKGQE5GMWMTY@isocpp.org Tue Dec 09 23:54:01 2014
Return-path: <std-proposals+bncBC5JHI7A7ALRBB73TWSAKGQE5GMWMTY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pa0-f69.google.com ([209.85.220.69])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC5JHI7A7ALRBB73TWSAKGQE5GMWMTY@isocpp.org>)
	id 1XyTfN-0001O4-3U
	for gclcip-std-proposals@m.gmane.org; Tue, 09 Dec 2014 23:54:01 +0100
Original-Received: by mail-pa0-f69.google.com with SMTP id et14sf8713954pad.8
        for <gclcip-std-proposals@m.gmane.org>; Tue, 09 Dec 2014 14:54:00 -0800 (PST)
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:content-type:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe;
        bh=0FhF1rfvZ77aZ/F051hb6vVoEpBAQLhdDvwJVwMkbyc=;
        b=AwhFRiB6ajmwuMCMYq8SVPX8gfotn+7LlaiB++eywJr5V+ogY75YJe2yyL/9LPXswl
         xII3f283MP5FMSm5IVjFDIhgbPcK02YJ5gaFmHXsalZFOEP8T+Cfvdk5Ni9bv93sZQfr
         H4y8JJU4AXpBv4HKZWvsA1DZ2qaBslZTTosl/JwZ/COLo4JtQfEfS+qs5N65NaBSbFCN
         QXSA4EBl2Jn+ovDhgmOrD6I9dHomlYRLMcKlE2Gg0gJOvaXRijbTutR6M2eiKJVrnYJj
         22hOLdfYSinNZKVTDBjdEk5fluTnuUUdbt4wPHDU0iyiO/6qd5UO3G34VpdzzwF9lIdh
         uBEA==
X-Gm-Message-State: ALoCoQlTIBOnvsC4BljJOIsmoQXRF/l052O48NhWQzvmiFnHArSRQsGCjkQF3yhF9hlFR8zSFUJ/
X-Received: by 10.66.65.138 with SMTP id x10mr941684pas.6.1418165640375;
        Tue, 09 Dec 2014 14:54:00 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.182.60.136 with SMTP id h8ls134453obr.16.gmail; Tue, 09 Dec
 2014 14:53:59 -0800 (PST)
X-Received: by 10.202.108.14 with SMTP id h14mr523146oic.3.1418165639652;
        Tue, 09 Dec 2014 14:53:59 -0800 (PST)
Original-Received: from mail-ob0-x22a.google.com (mail-ob0-x22a.google.com. [2607:f8b0:4003:c01::22a])
        by mx.google.com with ESMTPS id ny8si1778686oeb.23.2014.12.09.14.53.59
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Tue, 09 Dec 2014 14:53:59 -0800 (PST)
Received-SPF: pass (google.com: domain of ville.voutilainen@gmail.com designates 2607:f8b0:4003:c01::22a as permitted sender) client-ip=2607:f8b0:4003:c01::22a;
Original-Received: by mail-ob0-f170.google.com with SMTP id wp18so1329590obc.1
        for <std-proposals@isocpp.org>; Tue, 09 Dec 2014 14:53:59 -0800 (PST)
X-Received: by 10.202.132.1 with SMTP id g1mr438033oid.127.1418165639527; Tue,
 09 Dec 2014 14:53:59 -0800 (PST)
Original-Received: by 10.76.154.2 with HTTP; Tue, 9 Dec 2014 14:53:59 -0800 (PST)
In-Reply-To: <7e244f46-18cf-4ea0-8a6a-02473fd849e9@isocpp.org>
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:4003:c01::22a 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:14927
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/14927>

On 10 December 2014 at 00:50, sasho648 <sasho648@mail.bg> wrote:
> Also don't you believe that this 'RVO' can create an unexpected behavior in
> some cases. Maybe there are programs which rely on return-values to be
> copied n-times, instead of being optimized.


Such programs are already broken.

-- 

--- 
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/.

.
