220 4660 <CAOHCbitnBnOvzg3zHjjHB3659yyuQ7BU7JcTEVvfC6MbhR0KBQ@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Tony V E <tvaneerd@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Remove vector<bool>?
Date: Tue, 28 May 2013 12:32:21 -0400
Lines: 123
Approved: news@gmane.org
Message-ID: <CAOHCbitnBnOvzg3zHjjHB3659yyuQ7BU7JcTEVvfC6MbhR0KBQ@mail.gmail.com>
References: <CAGsORuDQdeWAO5yjA6=h0hW9Y0Sj4F1gcHB61udw5JFmtx+g4Q@mail.gmail.com>
	<CAGg_6+O9XJucMxwEhU+50Dzx0Tz7XRK0cWyrkUHuPSoEz9TqEw@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=001a11c365aa3556f804ddc9cff6
X-Trace: ger.gmane.org 1369758742 18544 80.91.229.3 (28 May 2013 16:32:22 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Tue, 28 May 2013 16:32:22 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCUZ5QWKNQIJNOETRUCRUBFPCRB6M@isocpp.org Tue May 28 18:32:24 2013
Return-path: <std-proposals+bncBCUZ5QWKNQIJNOETRUCRUBFPCRB6M@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-wi0-f198.google.com ([209.85.212.198])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCUZ5QWKNQIJNOETRUCRUBFPCRB6M@isocpp.org>)
	id 1UhMox-0002rm-BJ
	for gclcip-std-proposals@m.gmane.org; Tue, 28 May 2013 18:32:23 +0200
Original-Received: by mail-wi0-f198.google.com with SMTP id hr14sf2644558wib.9
        for <gclcip-std-proposals@m.gmane.org>; Tue, 28 May 2013 09:32:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=x-beenthere:mime-version:in-reply-to:references:date:message-id
         :subject:from: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=uc4lz3zTmtnYmFQ8nhs7EfJOzSvZj/nUNGQKswYX2pk=;
        b=HVEiVD3W7StalGLNumqJkA2JPRK3mhGg/TJTY3x0odXQhZ8Id1jhLyPx0hOtIOKiSE
         jBxkSRKas1FInoJWgnBKa7TS7MkMT6GfNyWEQjRkJUvOe9x3yC9ZZ2ufp2rJ7A0SGpXY
         ZOBYM6l7vWoTZwwCwvHGPXyvVdX/phi7a8j+bQsvGOn3eFlB1lsst8+OAcS8SkETY7kO
         a6EpX4HiavBw37DT0WRmVnMthKYsJzVI6OWunitjuXoCTAqhbckE2NhFLrhWGZQ5I7ht
         g+0cLN4lqG3cf6EevqrqK20HA0nVceUSQQifEvWGQC60O8Bi/qvbkGOgjRSKgovdkyVr
         wIXA==
X-Received: by 10.112.130.170 with SMTP id of10mr3148616lbb.22.1369758742792;
        Tue, 28 May 2013 09:32:22 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.152.29.136 with SMTP id k8ls213980lah.90.gmail; Tue, 28 May
 2013 09:32:21 -0700 (PDT)
X-Received: by 10.112.138.228 with SMTP id qt4mr16218976lbb.106.1369758741582;
        Tue, 28 May 2013 09:32:21 -0700 (PDT)
Original-Received: from mail-la0-x232.google.com (mail-la0-x232.google.com [2a00:1450:4010:c03::232])
        by mx.google.com with ESMTPS id mj3si10283053lbc.65.2013.05.28.09.32.21
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Tue, 28 May 2013 09:32:21 -0700 (PDT)
Received-SPF: pass (google.com: domain of tvaneerd@gmail.com designates 2a00:1450:4010:c03::232 as permitted sender) client-ip=2a00:1450:4010:c03::232;
Original-Received: by mail-la0-f50.google.com with SMTP id ed20so7705054lab.9
        for <std-proposals@isocpp.org>; Tue, 28 May 2013 09:32:21 -0700 (PDT)
X-Received: by 10.152.116.114 with SMTP id jv18mr2252619lab.15.1369758741384;
 Tue, 28 May 2013 09:32:21 -0700 (PDT)
Original-Received: by 10.112.161.9 with HTTP; Tue, 28 May 2013 09:32:21 -0700 (PDT)
In-Reply-To: <CAGg_6+O9XJucMxwEhU+50Dzx0Tz7XRK0cWyrkUHuPSoEz9TqEw@mail.gmail.com>
X-Original-Sender: tvaneerd@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of tvaneerd@gmail.com designates 2a00:1450:4010:c03::232 as permitted
 sender) smtp.mail=tvaneerd@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:4660
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/4660>

--001a11c365aa3556f804ddc9cff6
Content-Type: text/plain; charset=ISO-8859-1

On Tue, May 28, 2013 at 12:17 PM, Nevin Liber <nevin@eviloverlord.com>wrote:

> On 28 May 2013 10:50, Zhihao Yuan <lichray@gmail.com> wrote:
>
>> I saw Herb's paper:
>>
>>   http://www.gotw.ca/publications/N1185.pdf
>>
>> But it's not adopted.
>>
>> Anyway, vector<bool> sucks, and we know it.  How about to entirely
>> remove it?
>>
>
> That could be a silent breaking change to potentially a lot of users; I
> would be against that.  Export notwithstanding, we don't just pull things
> out of the standard.
>
> If someone were to propose making it deprecated in C++17, I could be for
> that.
>
> Because this is a breaking change, I would like to see such a proposal
> talk about the practical use cases for having a vector<bool> that was just
> another instance of vector.  What are the useful things that cannot be done
> / cannot be done efficiently now with vector<bool>.
> --
>  Nevin ":-)" Liber  <mailto:nevin@eviloverlord.com>  (847) 691-1404
>
> --
>
>

Yes, the real trick is that we don't really want to remove vector<bool>, we
just want to remove its specialization.  A vector<bool> that was a, well,
vector of bools, would be great, but how do we get from here to there?

Tony

-- 

--- 
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.



--001a11c365aa3556f804ddc9cff6
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><br><div class=3D"gmail=
_quote">On Tue, May 28, 2013 at 12:17 PM, Nevin Liber <span dir=3D"ltr">&lt=
;<a href=3D"mailto:nevin@eviloverlord.com" target=3D"_blank">nevin@evilover=
lord.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im">On 28 May 2013 10:50, Zhih=
ao Yuan <span dir=3D"ltr">&lt;<a href=3D"mailto:lichray@gmail.com" target=
=3D"_blank">lichray@gmail.com</a>&gt;</span> wrote:<br>
</div><div class=3D"gmail_quote"><div class=3D"im"><blockquote class=3D"gma=
il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-lef=
t:1ex">

I saw Herb&#39;s paper:<br>
<br>
=A0 <a href=3D"http://www.gotw.ca/publications/N1185.pdf" target=3D"_blank"=
>http://www.gotw.ca/publications/N1185.pdf</a><br>
<br>
But it&#39;s not adopted.<br>
<br>
Anyway, vector&lt;bool&gt; sucks, and we know it. =A0How about to entirely<=
br>
remove it?<br></blockquote></div><div><br>That could be a silent breaking c=
hange to potentially a lot of users; I would be against that.=A0 Export not=
withstanding, we don&#39;t just pull things out of the standard.<br><br>
If someone were to propose making it deprecated in C++17, I could be for th=
at.<br>

<br>Because this is a breaking change, I would like to see such a proposal =
talk about the practical use cases for having a vector&lt;bool&gt; that was=
 just another instance of vector.=A0 What are the useful things that cannot=
 be done / cannot be done efficiently now with vector&lt;bool&gt;.<span cla=
ss=3D"HOEnZb"><font color=3D"#888888"><br clear=3D"all">


</font></span></div></div><span class=3D"HOEnZb"><font color=3D"#888888">--=
 <br>=A0Nevin &quot;:-)&quot; Liber=A0 &lt;mailto:<a href=3D"mailto:nevin@e=
viloverlord.com" target=3D"_blank">nevin@eviloverlord.com</a>&gt;=A0 <a hre=
f=3D"tel:%28847%29%20691-1404" value=3D"+18476911404" target=3D"_blank">(84=
7) 691-1404</a></font></span><div class=3D"HOEnZb">
<div class=3D"h5">

<p></p>

-- <br>=A0
<br></div></div></blockquote><div><br></div><div>Yes, the real trick is tha=
t we don&#39;t really want to remove vector&lt;bool&gt;, we just want to re=
move its specialization.=A0 A vector&lt;bool&gt; that was a, well, vector o=
f bools, would be great, but how do we get from here to there?<br>
<br></div><div>Tony<br>=A0<br></div></div></div></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 />

--001a11c365aa3556f804ddc9cff6--

.
