220 7340 <CAPBZbvwyDuaQkJceAN_H0OwEOhnjAhqqyUJd5BrJrYaD1=9pAw@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:49:05 -0700
Lines: 170
Approved: news@gmane.org
Message-ID: <CAPBZbvwyDuaQkJceAN_H0OwEOhnjAhqqyUJd5BrJrYaD1=9pAw@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> <CAPBZbvzHXrb=TgGM39sGfM+oWY29-dFt=thGRpMjebJ5mzQBPQ@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=001a11c336768cdf5604e8e962a6
X-Trace: ger.gmane.org 1381988981 10491 80.91.229.3 (17 Oct 2013 05:49:41 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Thu, 17 Oct 2013 05:49:41 +0000 (UTC)
To: std-proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDKLBLVE6ADBB6PU7WJAKGQEOVJNZGQ@isocpp.org Thu Oct 17 07:49:48 2013
Return-path: <std-proposals+bncBDKLBLVE6ADBB6PU7WJAKGQEOVJNZGQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ie0-f198.google.com ([209.85.223.198])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDKLBLVE6ADBB6PU7WJAKGQEOVJNZGQ@isocpp.org>)
	id 1VWgSx-0004o5-0O
	for gclcip-std-proposals@m.gmane.org; Thu, 17 Oct 2013 07:49:47 +0200
Original-Received: by mail-ie0-f198.google.com with SMTP id tp5sf4834702ieb.9
        for <gclcip-std-proposals@m.gmane.org>; Wed, 16 Oct 2013 22:49:46 -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=MQMTvR9xY6OhMmmA9cAcvzewxl493YZYfs9V7DpEDoI=;
        b=WNxQciyhDC8fuYP2rgp8aNWSiScPVbfWsXmbTjl0cVr9u4kLPr/y6ZweyssoiUZG80
         zy9bkooDhSfP9r45gjqupC4icakiVPaJQ38JmmLHWHj7ceAqxQpJcAMTBVKb3is9Zq5N
         njBC5jUovAvU+HqlHj7cvqe4RihVCB19suVRXqF8MaRyb92y1z0STa4JgSOKDUFgQ/ks
         FNjgH/KxkiozzkxZYaW0DS7MiAI4TkXPNb1PMUHJRgNDTgxo5VqqhIMEaZW3viz9AyLL
         p5vySqWqqhPeGR2ZroOAUhPbQ3GF20/QEbrw5HG5WxGfVftrpLSKYntzQO+fjLI1DWr4
         JdKA==
X-Received: by 10.50.129.42 with SMTP id nt10mr2362332igb.0.1381988985891;
        Wed, 16 Oct 2013 22:49:45 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.182.16.134 with SMTP id g6ls257787obd.98.gmail; Wed, 16 Oct
 2013 22:49:45 -0700 (PDT)
X-Received: by 10.182.84.132 with SMTP id z4mr9349049oby.49.1381988985431;
        Wed, 16 Oct 2013 22:49:45 -0700 (PDT)
Original-Received: from mail-oa0-x235.google.com (mail-oa0-x235.google.com [2607:f8b0:4003:c02::235])
        by mx.google.com with ESMTPS id f9si28370985obv.127.1969.12.31.16.00.00
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Wed, 16 Oct 2013 22:49:45 -0700 (PDT)
Received-SPF: pass (google.com: domain of billy.oneal@gmail.com designates 2607:f8b0:4003:c02::235 as permitted sender) client-ip=2607:f8b0:4003:c02::235;
Original-Received: by mail-oa0-f53.google.com with SMTP id i7so1566150oag.26
        for <std-proposals@isocpp.org>; Wed, 16 Oct 2013 22:49:45 -0700 (PDT)
X-Received: by 10.182.230.135 with SMTP id sy7mr11001516obc.24.1381988985264;
 Wed, 16 Oct 2013 22:49:45 -0700 (PDT)
Original-Received: by 10.182.87.37 with HTTP; Wed, 16 Oct 2013 22:49:05 -0700 (PDT)
In-Reply-To: <CAPBZbvzHXrb=TgGM39sGfM+oWY29-dFt=thGRpMjebJ5mzQBPQ@mail.gmail.com>
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:c02::235 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:7340
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/7340>

--001a11c336768cdf5604e8e962a6
Content-Type: text/plain; charset=ISO-8859-1

Actually, scratch that. Just realized the change in vector::resize isn't
detectable at all at the source level, while this change would be if
someone tried to create a member function pointer to str().

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 10:32 PM, Billy O'Neal <billy.oneal@gmail.com>wrote:

> 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/.

--001a11c336768cdf5604e8e962a6
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Actually, scratch that. Just realized the change in vector=
::resize isn&#39;t detectable at all at the source level, while this change=
 would be if someone tried to create a member function pointer to str().</d=
iv>

<div class=3D"gmail_extra"><br clear=3D"all"><div><div dir=3D"ltr"><div>Bil=
ly O&#39;Neal</div><div><a href=3D"https://bitbucket.org/BillyONeal/" targe=
t=3D"_blank">https://github.com/BillyONeal/</a></div><div><a href=3D"http:/=
/stackoverflow.com/users/82320/billy-oneal" target=3D"_blank">http://stacko=
verflow.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 10:32 PM, Billy =
O&#39;Neal <span dir=3D"ltr">&lt;<a href=3D"mailto:billy.oneal@gmail.com" t=
arget=3D"_blank">billy.oneal@gmail.com</a>&gt;</span> wrote:<br><blockquote=
 class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc soli=
d;padding-left:1ex">

<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" target=3D"_blank">http://stackoverflow.com/questions/17002690/why-has-t=
he-stdvectorresize-signature-been-changed-in-c11</a></div>


</div><div class=3D"gmail_extra"><div class=3D"im"><br clear=3D"all"><div><=
div dir=3D"ltr"><div>Billy O&#39;Neal</div><div><a href=3D"https://bitbucke=
t.org/BillyONeal/" target=3D"_blank">https://github.com/BillyONeal/</a></di=
v><div>

<a href=3D"http://stackoverflow.com/users/82320/billy-oneal" target=3D"_bla=
nk">http://stackoverflow.com/users/82320/billy-oneal</a></div>
<div>Malware Response Instructor - BleepingComputer.com</div></div></div>
<br><br></div><div><div class=3D"h5"><div class=3D"gmail_quote">On Wed, Oct=
 16, 2013 at 9:52 PM, Thiago Macieira <span dir=3D"ltr">&lt;<a href=3D"mail=
to:thiago@macieira.org" target=3D"_blank">thiago@macieira.org</a>&gt;</span=
> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;padding=
-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-l=
eft-style:solid">
<div>On quarta-feira, 16 de outubro de 2013 19:38:04, Billy O&#39;Neal wrot=
e:<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><div><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" target=3D=
"_blank">std-proposals+unsubscribe@isocpp.org</a>.<br>
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org" target=3D"_blank">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></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 />

--001a11c336768cdf5604e8e962a6--

.
