220 4841 <e7d016e1-ea9b-4bd6-9d23-a78f7232b4be@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: Nicol Bolas <jmckesson@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: Proposal: std::sequence
Date: Mon, 3 Jun 2013 15:32:44 -0700 (PDT)
Lines: 94
Approved: news@gmane.org
Message-ID: <e7d016e1-ea9b-4bd6-9d23-a78f7232b4be@isocpp.org>
References: <4551abbc-43aa-4520-a91a-f8eb25a90588@isocpp.org>
 <e915df62-4930-48ee-a8ac-64261c407234@isocpp.org> <2c8e6079-9c87-425a-93e2-39251df57cd8@isocpp.org>
 <CANh-dX=va9uLSbvQc_TRmf8o5TDzQutmkxJDc64g7b=yKyN7sg@mail.gmail.com>
 <9f1cace3-0503-4a3c-a8ce-d7546564b3ef@isocpp.org> <a6f024b6-45d6-4c3b-b8a6-3f056aeab51f@isocpp.org>
 <dc5d7e0d-6e4e-46a0-ade8-5aaba986ebfc@isocpp.org>
 <CAGg_6+PH2ji7iRGJr99m3jY0iXEs+bHYQeeUD59P+xF5HyOOBA@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_3233_4213805.1370298764450"
X-Trace: ger.gmane.org 1370298768 16777 80.91.229.3 (3 Jun 2013 22:32:48 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Mon, 3 Jun 2013 22:32:48 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCEKFTV6ZUMBBDVTWSGQKGQE43M27VI@isocpp.org Tue Jun 04 00:32:49 2013
Return-path: <std-proposals+bncBCEKFTV6ZUMBBDVTWSGQKGQE43M27VI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ob0-f198.google.com ([209.85.214.198])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCEKFTV6ZUMBBDVTWSGQKGQE43M27VI@isocpp.org>)
	id 1UjdJ2-0002CE-EI
	for gclcip-std-proposals@m.gmane.org; Tue, 04 Jun 2013 00:32:48 +0200
Original-Received: by mail-ob0-f198.google.com with SMTP id up14sf27557957obb.5
        for <gclcip-std-proposals@m.gmane.org>; Mon, 03 Jun 2013 15:32:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=x-beenthere:date:from:to:message-id:in-reply-to:references:subject
         :mime-version:x-original-sender:reply-to:precedence:mailing-list
         :list-id:x-google-group-id:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe:content-type;
        bh=pJIFO9RKYCHsZ2zhMdEazP8MqU7KCFghzsgnmRQZ/QE=;
        b=gl4LlX7YHHR1v0OiZDVkHi+TBN4w5ayc0gG++ledd513Iy0N6OsKFXz3INmWAts3G2
         Y8tL2cPrxDNNd3DkS9MWQJvz8SsKz9Q0bOgw4zioSy2pI62emubn9778/N055CUzZLvh
         Qga0xGRigt5KC/D56UbY7gbm4neZeMFzteEhDAsCcbCZW3tQfY0g3orRtgxv+ZLvCXzM
         MVxTxSyYz/80qt1+mhTVXg82LUNc8heh83idFvSRUFIoY7DRw7SFosS67txh70lPoHnw
         aQmJFChLK9Yvs+7shds7o2HvNDf/M1tQxNF93Zsd7diN1A/SsufYw/P1K0RhyG0r5X91
         fsNA==
X-Received: by 10.42.161.71 with SMTP id s7mr18732262icx.18.1370298767285;
        Mon, 03 Jun 2013 15:32:47 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.50.117.36 with SMTP id kb4ls2370636igb.11.gmail; Mon, 03 Jun
 2013 15:32:45 -0700 (PDT)
X-Received: by 10.50.39.84 with SMTP id n20mr26185igk.13.1370298765770;
        Mon, 03 Jun 2013 15:32:45 -0700 (PDT)
In-Reply-To: <CAGg_6+PH2ji7iRGJr99m3jY0iXEs+bHYQeeUD59P+xF5HyOOBA@mail.gmail.com>
X-Original-Sender: jmckesson@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?hl=en>,
 <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?hl=en&topic=25838>,
 <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/?hl=en>
List-Subscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe?hl=en>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe?hl=en>,
 <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:4841
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/4841>

------=_Part_3233_4213805.1370298764450
Content-Type: text/plain; charset=ISO-8859-1

On Monday, June 3, 2013 1:26:12 PM UTC-7, Nevin ":-)" Liber wrote:
>
> On 3 June 2013 15:24, Alex B <deva...@gmail.com <javascript:>> wrote:
>
>>
>> And LLVM and Google have gotten by with types that are equally 
>>> lightweight and shortlived, yet *theirs* are assignable and adjustable 
>>> in size. Why should we use yours instead of theirs (ie: array_ref)?
>>>
>>
>> Yet, in the (unfortunately rejected and thrown to abyss) proposal, there 
>> is no mutable version of the class provided. That makes it at least one 
>> reason to (maybe) reconsider it.
>>
>> Personally, I am against allowing assignment.
>>
>
>
> What about this code:
>
> map<int, array_ref<int>> m;
>
> m[1] = get_array();
>
> Breaking assignment pretty much breaks expectations.


I agree with your general sentiment, just not the example code you give. 
The idea of storing a short-term array_ref/etc in a long-term object like a 
`map` is... disconcerting.

-- 

--- 
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/?hl=en.



------=_Part_3233_4213805.1370298764450
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Monday, June 3, 2013 1:26:12 PM UTC-7, Nevin ":-)" Liber wrote:<blockquo=
te class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;border-left:=
 1px #ccc solid;padding-left: 1ex;">On 3 June 2013 15:24, Alex B <span dir=
=3D"ltr">&lt;<a href=3D"javascript:" target=3D"_blank" gdf-obfuscated-mailt=
o=3D"l608S8GTcxAJ">deva...@gmail.com</a>&gt;</span> wrote:<br><div class=3D=
"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">

<div><br><blockquote class=3D"gmail_quote" style=3D"margin:0;margin-left:0.=
8ex;border-left:1px #ccc solid;padding-left:1ex"><div>And LLVM and Google h=
ave gotten by with types that are equally lightweight and shortlived, yet <=
i>theirs</i> are assignable and adjustable in size. Why should we use yours=
 instead of theirs (ie: array_ref)?<br>

</div></blockquote><div><br></div></div><div>Yet, in the (unfortunately rej=
ected and thrown to abyss) proposal, there is no mutable version of the cla=
ss provided. That makes it at least one reason to (maybe) reconsider it.</d=
iv>

<div><br></div><div>Personally, I am against allowing assignment.</div></bl=
ockquote><div><br><br>What about this code:<br><br>map&lt;int, array_ref&lt=
;int&gt;&gt; m;<br><br>m[1] =3D get_array();<br clear=3D"all"></div></div>
<br>
Breaking assignment pretty much breaks expectations.</blockquote><div><br>I=
 agree with your general sentiment, just not the example code you give. The=
 idea of storing a short-term array_ref/etc in a long-term object like a `m=
ap` is... disconcerting.<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/?hl=3Den">http://groups.google.com/a/isocpp.org/group/std-pro=
posals/?hl=3Den</a>.<br />
&nbsp;<br />
&nbsp;<br />

------=_Part_3233_4213805.1370298764450--

.
