220 4835 <CAGg_6+PH2ji7iRGJr99m3jY0iXEs+bHYQeeUD59P+xF5HyOOBA@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Nevin Liber <nevin@eviloverlord.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: Proposal: std::sequence
Date: Mon, 3 Jun 2013 15:26:12 -0500
Lines: 85
Approved: news@gmane.org
Message-ID: <CAGg_6+PH2ji7iRGJr99m3jY0iXEs+bHYQeeUD59P+xF5HyOOBA@mail.gmail.com>
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>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=001a11c35e1ef4b45104de45c86d
X-Trace: ger.gmane.org 1370291218 4289 80.91.229.3 (3 Jun 2013 20:26:58 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Mon, 3 Jun 2013 20:26:58 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCE35H5S6IDBBDPYWOGQKGQEQQYUIGQ@isocpp.org Mon Jun 03 22:26:59 2013
Return-path: <std-proposals+bncBCE35H5S6IDBBDPYWOGQKGQEQQYUIGQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-gg0-f198.google.com ([209.85.161.198])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCE35H5S6IDBBDPYWOGQKGQEQQYUIGQ@isocpp.org>)
	id 1UjbLC-0000xZ-PO
	for gclcip-std-proposals@m.gmane.org; Mon, 03 Jun 2013 22:26:55 +0200
Original-Received: by mail-gg0-f198.google.com with SMTP id p1sf5079829ggn.5
        for <gclcip-std-proposals@m.gmane.org>; Mon, 03 Jun 2013 13:26:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=x-beenthere:mime-version:sender:in-reply-to:references:from:date
         :message-id:subject:to:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:x-google-group-id:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe:content-type;
        bh=Vsxrmyj9UrNthxiJBNXBbr/j6asGZoZqfZSVz6slvQw=;
        b=LQiWdabMfHF2ooPzO9X0Th0yQqsbFD2cET06/PEavck+74hgbm2clzIGGchb0eJ8Nc
         ooRuTPpRkxX9mfsWW6wzoz/uXF1JPPUdDIYHvzYcg07UI70tBunX9lqCTcRaxdQqpyIP
         rSknjvGgPpFGDd8WdGjN7yAvbj1VSt4bd8Akm68S9NeqCi9tr5lFkL3Cl86eBXUJ0tCS
         dPgL3YtHj91XQi324ovepFdNThsvzQZ6wpRHSO91PLy8GC80dxjW7RhH8LIl4o2jmz1V
         KbRDTiIPMyVVjjeoEUvgVAPPExt74nXw2bSN9gHV318XUqCFAAiqP31Df+KtPLBYL4eL
         GGNA==
X-Received: by 10.236.142.11 with SMTP id h11mr13648939yhj.55.1370291213804;
        Mon, 03 Jun 2013 13:26:53 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.49.130.233 with SMTP id oh9ls2320627qeb.5.gmail; Mon, 03 Jun
 2013 13:26:52 -0700 (PDT)
X-Received: by 10.224.174.138 with SMTP id t10mr20178721qaz.99.1370291212745;
        Mon, 03 Jun 2013 13:26:52 -0700 (PDT)
Original-Received: from mail-qc0-x231.google.com (mail-qc0-x231.google.com [2607:f8b0:400d:c01::231])
        by mx.google.com with ESMTPS id w8si45286328qag.48.2013.06.03.13.26.52
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Mon, 03 Jun 2013 13:26:52 -0700 (PDT)
Received-SPF: pass (google.com: domain of nliber@gmail.com designates 2607:f8b0:400d:c01::231 as permitted sender) client-ip=2607:f8b0:400d:c01::231;
Original-Received: by mail-qc0-f177.google.com with SMTP id e1so2429234qcy.36
        for <std-proposals@isocpp.org>; Mon, 03 Jun 2013 13:26:52 -0700 (PDT)
X-Received: by 10.229.171.202 with SMTP id i10mr8139091qcz.33.1370291212429;
 Mon, 03 Jun 2013 13:26:52 -0700 (PDT)
Original-Sender: nliber@gmail.com
Original-Received: by 10.49.64.165 with HTTP; Mon, 3 Jun 2013 13:26:12 -0700 (PDT)
In-Reply-To: <dc5d7e0d-6e4e-46a0-ade8-5aaba986ebfc@isocpp.org>
X-Original-Sender: nevin@eviloverlord.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of nliber@gmail.com designates 2607:f8b0:400d:c01::231 as permitted
 sender) smtp.mail=nliber@gmail.com;       dkim=pass header.i=@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:4835
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/4835>

--001a11c35e1ef4b45104de45c86d
Content-Type: text/plain; charset=ISO-8859-1

On 3 June 2013 15:24, Alex B <devalexb@gmail.com> 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.
-- 
 Nevin ":-)" Liber  <mailto:nevin@eviloverlord.com>  (847) 691-1404

-- 

--- 
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.



--001a11c35e1ef4b45104de45c86d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 3 June 2013 15:24, Alex B <span dir=3D"ltr">&lt;<a href=3D"mailto:devale=
xb@gmail.com" target=3D"_blank">devalexb@gmail.com</a>&gt;</span> wrote:<br=
><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"marg=
in:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class=3D"im"><br><blockquote class=3D"gmail_quote" style=3D"margin:0;m=
argin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div>And LLVM=
 and Google have gotten by with types that are equally lightweight and shor=
tlived, 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.<br>-- <br>=A0Nevin &qu=
ot;:-)&quot; Liber=A0 &lt;mailto:<a href=3D"mailto:nevin@eviloverlord.com" =
target=3D"_blank">nevin@eviloverlord.com</a>&gt;=A0 (847) 691-1404

<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 />

--001a11c35e1ef4b45104de45c86d--

.
