220 4735 <CAGg_6+Ou+4rwxx6NFLCZRUijc6J-GHqN_vHbaKA+UELM=WETfg@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: Remove vector<bool>?
Date: Wed, 29 May 2013 17:15:48 -0500
Lines: 88
Approved: news@gmane.org
Message-ID: <CAGg_6+Ou+4rwxx6NFLCZRUijc6J-GHqN_vHbaKA+UELM=WETfg@mail.gmail.com>
References: <CAGsORuDQdeWAO5yjA6=h0hW9Y0Sj4F1gcHB61udw5JFmtx+g4Q@mail.gmail.com>
 <83a68179-f8cd-42e9-a880-2bd797b30c28@isocpp.org> <CAGg_6+NDacUk23QRd5PTNKG5XYHaw9e18r4COD-6SzQM9vTZbg@mail.gmail.com>
 <a077c61e-bf59-4d4d-8aa4-b6a810e47595@isocpp.org> <CAGsORuAQGpB5UxBr+GetOLxyPpBs93MEsZNV4RGk-o_c-_buvg@mail.gmail.com>
 <CAGg_6+O_XjW4e_yci=VmVY1Af9vGH=2W-meFfj2gb7aa7KEk1A@mail.gmail.com>
 <CAGsORuCLLH5tCmnir7tVM68rGmYdnfL2VtxZ9XMK8=aEDppCqw@mail.gmail.com>
 <CAGg_6+Pdfny6cwyb14OR-KgtUzn7wcHxgbcoUdWPYC76VniKcw@mail.gmail.com> <CAGsORuDCXfk_2LiQj5Tez4TH1Dz1H-LMYm3-c33fS+vPkGrCzQ@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=047d7bd6acf4b5dc4d04dde2bbe1
X-Trace: ger.gmane.org 1369865790 3745 80.91.229.3 (29 May 2013 22:16:30 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 29 May 2013 22:16:30 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCE35H5S6IDBBPH4TGGQKGQECYXYITQ@isocpp.org Thu May 30 00:16:31 2013
Return-path: <std-proposals+bncBCE35H5S6IDBBPH4TGGQKGQECYXYITQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-qc0-f200.google.com ([209.85.216.200])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCE35H5S6IDBBPH4TGGQKGQECYXYITQ@isocpp.org>)
	id 1UhofX-0003li-5c
	for gclcip-std-proposals@m.gmane.org; Thu, 30 May 2013 00:16:31 +0200
Original-Received: by mail-qc0-f200.google.com with SMTP id n10sf11754145qcx.7
        for <gclcip-std-proposals@m.gmane.org>; Wed, 29 May 2013 15:16:30 -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=YKmRujYwHULxeb3WrZ1+AQzF0HZUGLnoXkXFZzBm7AI=;
        b=BqQf6eZb1jedejVeraK/BjOH7jzhwRvkuVgEKIAJa2hhL/oSlbXzVDF61FW2j7qHL/
         BgnmTLgUtYeARM3pCk2CoiEqCsnfvee0mzU07X6QxJPUPX9n21YZ1UTf9EAcqnX6QZHd
         gRyatRjXBQOJnnhz7R7IWmK++oNwjB6MY5Z4L1qKN8zuj95v7NTJ1PNcof5D1MsbyL2A
         ea+ajeUm5SKiSN5TnQL0owtNjnayT5j+ULMaDIUYceBCHYTmlB5m5EeX9v3caJV4E6a4
         4UeuIaChWbm80JhXgda7telRgj2eG6a2m+y9b4U8Lnq7YKw4YXkl/GmiQnGVZVuxviow
         Uvrw==
X-Received: by 10.236.80.106 with SMTP id j70mr2544161yhe.11.1369865790242;
        Wed, 29 May 2013 15:16:30 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.49.127.168 with SMTP id nh8ls119712qeb.70.gmail; Wed, 29 May
 2013 15:16:28 -0700 (PDT)
X-Received: by 10.224.190.137 with SMTP id di9mr4986273qab.95.1369865788715;
        Wed, 29 May 2013 15:16:28 -0700 (PDT)
Original-Received: from mail-qc0-x22d.google.com (mail-qc0-x22d.google.com [2607:f8b0:400d:c01::22d])
        by mx.google.com with ESMTPS id k6si11159816qat.70.2013.05.29.15.16.28
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Wed, 29 May 2013 15:16:28 -0700 (PDT)
Received-SPF: pass (google.com: domain of nliber@gmail.com designates 2607:f8b0:400d:c01::22d as permitted sender) client-ip=2607:f8b0:400d:c01::22d;
Original-Received: by mail-qc0-f173.google.com with SMTP id c11so5108556qcv.32
        for <std-proposals@isocpp.org>; Wed, 29 May 2013 15:16:28 -0700 (PDT)
X-Received: by 10.49.28.35 with SMTP id y3mr5312842qeg.7.1369865788438; Wed,
 29 May 2013 15:16:28 -0700 (PDT)
Original-Sender: nliber@gmail.com
Original-Received: by 10.49.64.165 with HTTP; Wed, 29 May 2013 15:15:48 -0700 (PDT)
In-Reply-To: <CAGsORuDCXfk_2LiQj5Tez4TH1Dz1H-LMYm3-c33fS+vPkGrCzQ@mail.gmail.com>
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::22d 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:4735
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/4735>

--047d7bd6acf4b5dc4d04dde2bbe1
Content-Type: text/plain; charset=ISO-8859-1

On 29 May 2013 17:07, Zhihao Yuan <lichray@gmail.com> wrote:

>
> When I say "optimization words" I mean the words those break the
> container natural to allow the optimization.  If you remove the those
> words,
> the optimization is disabled.  The real users can longer count on it.
>

If this breaks users of C++14 vector<bool>, then it is a non-starter for
C++17.


> That's my initial thought.  I don't like to bother vector<T>, either (
> although it does not pollute the actual interfaces).  But the problem
> is, how to address the "current users"?
>

With a new class that has the optimizations Howard talked about, as well as
a transition period of (at least) one standard cycle where the old behavior
of vector<bool> is deprecated but doesn't change.
-- 
 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.



--047d7bd6acf4b5dc4d04dde2bbe1
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 29 May 2013 17:07, Zhihao Yuan <span dir=3D"ltr">&lt;<a href=3D"mailto:l=
ichray@gmail.com" target=3D"_blank">lichray@gmail.com</a>&gt;</span> wrote:=
<br><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class=3D"im"><br>
</div>When I say &quot;optimization words&quot; I mean the words those brea=
k the<br>
container natural to allow the optimization. =A0If you remove the those wor=
ds,<br>
the optimization is disabled. =A0The real users can longer count on it.<br>=
</blockquote><div><br>If this breaks users of C++14 vector&lt;bool&gt;, the=
n it is a non-starter for C++17.<br>=A0</div><blockquote class=3D"gmail_quo=
te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"=
>


<div class=3D"im">That&#39;s my initial thought. =A0I don&#39;t like to bot=
her vector&lt;T&gt;, either (<br></div>
although it does not pollute the actual interfaces). =A0But the problem<br>
is, how to address the &quot;current users&quot;?<br></blockquote><div><br>=
With a new class that has the optimizations Howard talked about, as well as=
 a transition period of (at least) one standard cycle where the old behavio=
r of vector&lt;bool&gt; is deprecated but doesn&#39;t change. <br>

</div></div>-- <br>=A0Nevin &quot;:-)&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 />

--047d7bd6acf4b5dc4d04dde2bbe1--

.
