220 7338 <CAPBZbvzHXrb=TgGM39sGfM+oWY29-dFt=thGRpMjebJ5mzQBPQ@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: "Billy O'Neal" <billy.oneal@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Suggestion: ostringstream::move_str()
Date: Wed, 16 Oct 2013 22:32:29 -0700
Lines: 133
Approved: news@gmane.org
Message-ID: <CAPBZbvzHXrb=TgGM39sGfM+oWY29-dFt=thGRpMjebJ5mzQBPQ@mail.gmail.com>
References: <8d70b552-2ec1-45e7-9afb-dee28d73438a@isocpp.org>
 <4291267.ToRBPx4CWi@tjmaciei-mobl2> <CAPBZbvxNoA-3idKarWwMv+NTeZXafQX2tpFfu7XWaqg0TnJ2yQ@mail.gmail.com>
 <1686493.M97JNQtMVy@tjmaciei-mobl2>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=e89a8ff1ce023ad3e004e8e92796
X-Trace: ger.gmane.org 1381987986 770 80.91.229.3 (17 Oct 2013 05:33:06 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Thu, 17 Oct 2013 05:33:06 +0000 (UTC)
To: std-proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDKLBLVE6ADBBFXN7WJAKGQEPECI4KQ@isocpp.org Thu Oct 17 07:33:12 2013
Return-path: <std-proposals+bncBDKLBLVE6ADBBFXN7WJAKGQEPECI4KQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-oa0-f72.google.com ([209.85.219.72])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDKLBLVE6ADBBFXN7WJAKGQEPECI4KQ@isocpp.org>)
	id 1VWgCt-0007rz-Tb
	for gclcip-std-proposals@m.gmane.org; Thu, 17 Oct 2013 07:33:12 +0200
Original-Received: by mail-oa0-f72.google.com with SMTP id m17sf1006561oag.3
        for <gclcip-std-proposals@m.gmane.org>; Wed, 16 Oct 2013 22:33:11 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=mime-version:in-reply-to:references:from:date:message-id:subject: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=wS76NXStwWegRoi/yjHPuDoaWMMuEJontS2byI8CdH8=;
        b=NN+iMNJRNwWsI6O+rzAnLDBEMZP25G66AGg11m92pZ5dXgOZHvYaOLMVRL/sEwAFO9
         OizeAMrv6gJW00QNFa2xmwFrH/Axx0Xz1sY2wa6UjfIbd0IhnL7h9IBiIzkxqa1NFHtV
         HmouptC05lE2Iy2gkGZezV1sf695bY9lrTLtuFAgYWCKO7fdHlU5LorjlzhdjNM9Et9N
         9W8Hn8H25tgz9ntAEeCEr1uK+tw6GZeZxsOv/o1onY1WEoHobi5tY4y3ae5wv1VcuDJT
         A3CqzpWKHACKRhYsBYzmyAkzixxHUil5fXDb0sjqsigzNTDzKFZUeGbebweS2HLPHRAq
         UAfQ==
X-Received: by 10.42.131.129 with SMTP id z1mr2124201ics.25.1381987990893;
        Wed, 16 Oct 2013 22:33:10 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.182.18.39 with SMTP id t7ls260010obd.54.gmail; Wed, 16 Oct
 2013 22:33:10 -0700 (PDT)
X-Received: by 10.182.84.132 with SMTP id z4mr9254582oby.49.1381987990298;
        Wed, 16 Oct 2013 22:33:10 -0700 (PDT)
Original-Received: from mail-ob0-x22e.google.com (mail-ob0-x22e.google.com [2607:f8b0:4003:c01::22e])
        by mx.google.com with ESMTPS id i3si28310452obz.146.1969.12.31.16.00.00
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Wed, 16 Oct 2013 22:33:10 -0700 (PDT)
Received-SPF: pass (google.com: domain of billy.oneal@gmail.com designates 2607:f8b0:4003:c01::22e as permitted sender) client-ip=2607:f8b0:4003:c01::22e;
Original-Received: by mail-ob0-f174.google.com with SMTP id wm4so1480523obc.19
        for <std-proposals@isocpp.org>; Wed, 16 Oct 2013 22:33:10 -0700 (PDT)
X-Received: by 10.182.166.40 with SMTP id zd8mr10798884obb.25.1381987990031;
 Wed, 16 Oct 2013 22:33:10 -0700 (PDT)
Original-Received: by 10.182.87.37 with HTTP; Wed, 16 Oct 2013 22:32:29 -0700 (PDT)
In-Reply-To: <1686493.M97JNQtMVy@tjmaciei-mobl2>
X-Original-Sender: billy.oneal@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of billy.oneal@gmail.com designates 2607:f8b0:4003:c01::22e as
 permitted sender) smtp.mail=billy.oneal@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: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:7338
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/7338>

--e89a8ff1ce023ad3e004e8e92796
Content-Type: text/plain; charset=ISO-8859-1

It renders as bold on my box :)

C++11 contained similar API/ABI breaks; e.g.
http://stackoverflow.com/questions/17002690/why-has-the-stdvectorresize-signature-been-changed-in-c11

Billy O'Neal
https://github.com/BillyONeal/ <https://bitbucket.org/BillyONeal/>
http://stackoverflow.com/users/82320/billy-oneal
Malware Response Instructor - BleepingComputer.com


On Wed, Oct 16, 2013 at 9:52 PM, Thiago Macieira <thiago@macieira.org>wrote:

> On quarta-feira, 16 de outubro de 2013 19:38:04, Billy O'Neal wrote:
> > Is an implementation permitted to add an overload like this?
> >
> > string*&&* str() *&&*
> > {
> >      /* ... */
> > }
>
> [I'm assuming that the * indicate bold, not pointers]
>
> In order to add str()&&, the existing method needs to become str() const &
> and
> that's an ABI/API break.
>
> --
> Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
>    Software Architect - Intel Open Source Technology Center
>       PGP/GPG: 0x6EF45358; fingerprint:
>       E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
>
> --
>
> ---
> 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/.
>

-- 

--- 
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/.

--e89a8ff1ce023ad3e004e8e92796
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">It renders as bold on my box :)<div><br></div><div>C++11 c=
ontained similar API/ABI breaks; e.g.=A0<a href=3D"http://stackoverflow.com=
/questions/17002690/why-has-the-stdvectorresize-signature-been-changed-in-c=
11">http://stackoverflow.com/questions/17002690/why-has-the-stdvectorresize=
-signature-been-changed-in-c11</a></div>

</div><div class=3D"gmail_extra"><br clear=3D"all"><div><div dir=3D"ltr"><d=
iv>Billy O&#39;Neal</div><div><a href=3D"https://bitbucket.org/BillyONeal/"=
 target=3D"_blank">https://github.com/BillyONeal/</a></div><div><a href=3D"=
http://stackoverflow.com/users/82320/billy-oneal" target=3D"_blank">http://=
stackoverflow.com/users/82320/billy-oneal</a></div>

<div>Malware Response Instructor - BleepingComputer.com</div></div></div>
<br><br><div class=3D"gmail_quote">On Wed, Oct 16, 2013 at 9:52 PM, Thiago =
Macieira <span dir=3D"ltr">&lt;<a href=3D"mailto:thiago@macieira.org" targe=
t=3D"_blank">thiago@macieira.org</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">

<div class=3D"im">On quarta-feira, 16 de outubro de 2013 19:38:04, Billy O&=
#39;Neal wrote:<br>
&gt; Is an implementation permitted to add an overload like this?<br>
&gt;<br>
</div>&gt; string*&amp;&amp;* str() *&amp;&amp;*<br>
&gt; {<br>
&gt; =A0 =A0 =A0/* ... */<br>
&gt; }<br>
<br>
[I&#39;m assuming that the * indicate bold, not pointers]<br>
<br>
In order to add str()&amp;&amp;, the existing method needs to become str() =
const &amp; and<br>
that&#39;s an ABI/API break.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
--<br>
Thiago Macieira - thiago (AT) <a href=3D"http://macieira.info" target=3D"_b=
lank">macieira.info</a> - thiago (AT) <a href=3D"http://kde.org" target=3D"=
_blank">kde.org</a><br>
=A0 =A0Software Architect - Intel Open Source Technology Center<br>
=A0 =A0 =A0 PGP/GPG: 0x6EF45358; fingerprint:<br>
=A0 =A0 =A0 E067 918B B660 DBD1 105C =A0966C 33F5 F005 6EF4 5358<br>
<br>
--<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%2Bunsubscribe@isocpp.org">std-propo=
sals+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/" target=3D"_blank">http://groups.google.com/a/isocpp.org/gro=
up/std-proposals/</a>.<br>
</div></div></blockquote></div><br></div>

<p></p>

-- <br />
&nbsp;<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 std-proposals+unsubscribe@isocpp.org.<br />
To post to this group, send email to std-proposals@isocpp.org.<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 />

--e89a8ff1ce023ad3e004e8e92796--

.
