220 4680 <CAGg_6+NAu8=MvJQaRK3_tVJ3ZpUx_=q4iY_8aPL8mjkyFZOgDA@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: Tue, 28 May 2013 15:12:59 -0500
Lines: 86
Approved: news@gmane.org
Message-ID: <CAGg_6+NAu8=MvJQaRK3_tVJ3ZpUx_=q4iY_8aPL8mjkyFZOgDA@mail.gmail.com>
References: <CAGsORuDQdeWAO5yjA6=h0hW9Y0Sj4F1gcHB61udw5JFmtx+g4Q@mail.gmail.com>
 <CAGg_6+O9XJucMxwEhU+50Dzx0Tz7XRK0cWyrkUHuPSoEz9TqEw@mail.gmail.com>
 <e59c2a57-6068-4098-8667-5d086b2961fd@isocpp.org> <7371f4b8-8c47-4f17-af1e-902a5c8b17e4@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=047d7bdc94eeac5f4604ddcce69e
X-Trace: ger.gmane.org 1369772021 6530 80.91.229.3 (28 May 2013 20:13:41 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Tue, 28 May 2013 20:13:41 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCE35H5S6IDBB5E7SSGQKGQEM7U5G7Y@isocpp.org Tue May 28 22:13:42 2013
Return-path: <std-proposals+bncBCE35H5S6IDBB5E7SSGQKGQEM7U5G7Y@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-gg0-f197.google.com ([209.85.161.197])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCE35H5S6IDBB5E7SSGQKGQEM7U5G7Y@isocpp.org>)
	id 1UhQH8-0006ED-5i
	for gclcip-std-proposals@m.gmane.org; Tue, 28 May 2013 22:13:42 +0200
Original-Received: by mail-gg0-f197.google.com with SMTP id u1sf8976262ggn.0
        for <gclcip-std-proposals@m.gmane.org>; Tue, 28 May 2013 13:13:41 -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=OsShWoACWZWKZy5tyl63QfCByztaT1b188tWorDN/NA=;
        b=BLHEPQHntYFK3BBLBwp5OvPCUyfhL6F14/+fQiuZ/Dkkj4CWSnBMNoiBQ6eIgzTVl6
         MnrPFORooukU3tor3m4gPzPD7Lw2F3w25cE0m3mMzE7Gt6HXCmCbhRpWHMfn2yvFrEIo
         GqWHF3iY5FEOXUlLiOkbHy1PC+8Pz9qbV7/hnHxkYVeqh1wnbJYuS/ZeBdICk5elKFn6
         LXNvO3hDP9HjUil9e0gQ+lYO9EAGiuW5W2HVfvCTZOJOpcKQrQbWovpSqEX291oht2Le
         1CIO+6cj9yFFmqV/1gucwJHuzgbvaZ25/RkSB0KaAq8GDZREybhBwDbPt334p4GYcEyH
         jQcA==
X-Received: by 10.236.231.10 with SMTP id k10mr682931yhq.30.1369772021348;
        Tue, 28 May 2013 13:13:41 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.49.29.74 with SMTP id i10ls588457qeh.76.gmail; Tue, 28 May
 2013 13:13:40 -0700 (PDT)
X-Received: by 10.49.39.68 with SMTP id n4mr38068324qek.44.1369772020188;
        Tue, 28 May 2013 13:13:40 -0700 (PDT)
Original-Received: from mail-qc0-x233.google.com (mail-qc0-x233.google.com [2607:f8b0:400d:c01::233])
        by mx.google.com with ESMTPS id u4si11716638qaf.105.2013.05.28.13.13.40
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Tue, 28 May 2013 13:13:40 -0700 (PDT)
Received-SPF: pass (google.com: domain of nliber@gmail.com designates 2607:f8b0:400d:c01::233 as permitted sender) client-ip=2607:f8b0:400d:c01::233;
Original-Received: by mail-qc0-f179.google.com with SMTP id e1so4255161qcx.24
        for <std-proposals@isocpp.org>; Tue, 28 May 2013 13:13:40 -0700 (PDT)
X-Received: by 10.49.64.225 with SMTP id r1mr4477511qes.52.1369772019963; Tue,
 28 May 2013 13:13:39 -0700 (PDT)
Original-Sender: nliber@gmail.com
Original-Received: by 10.49.130.39 with HTTP; Tue, 28 May 2013 13:12:59 -0700 (PDT)
In-Reply-To: <7371f4b8-8c47-4f17-af1e-902a5c8b17e4@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::233 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:4680
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/4680>

--047d7bdc94eeac5f4604ddcce69e
Content-Type: text/plain; charset=ISO-8859-1

On 28 May 2013 15:00, Nicol Bolas <jmckesson@gmail.com> wrote:

>
> Personally, I agree with Howard; we should add a class that has all of
> this functionality (presumably with some degree of required sizing) that
> would be a drop-in replacement for those who need the sizing features of
> vector<bool>. But the question remains: even with a drop-in replacement,
> how much code will be *broken* because of this?
>

There is never any real way to know, but it's been around a long time

The problems with just pulling it are:

1.  Silent changes really annoy users.
2.  It makes migration harder, as you are required to change your code in a
backwards-incompatible way just to get it working under C++17.

For C++17 I think we can deprecate the vector<bool> specialization at the
same time (in favor of no specialization for the subsequent release), but I
don't see just removing it as something that has any chance of passing the
committee.
-- 
 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.



--047d7bdc94eeac5f4604ddcce69e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 28 May 2013 15:00, Nicol Bolas <span dir=3D"ltr">&lt;<a href=3D"mailto:j=
mckesson@gmail.com" target=3D"_blank">jmckesson@gmail.com</a>&gt;</span> wr=
ote:<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">

<br><div>Personally, I agree with Howard; we should add a class that has al=
l of this functionality (presumably with some degree of required sizing) th=
at would be a drop-in replacement for those who need the sizing features of=
 vector&lt;bool&gt;. But the question remains: even with a drop-in replacem=
ent, how much code will be <i>broken</i> because of this?<br clear=3D"all">

</div></blockquote><div><br>There is never any real way to know, but it&#39=
;s been around a long time<br><br>The problems with just pulling it are:<br=
><br>1.=A0 Silent changes really annoy users.<br>2.=A0 It makes migration h=
arder, as you are required to change your code in a backwards-incompatible =
way just to get it working under C++17.<br>

<br></div></div>For C++17 I think we can deprecate the vector&lt;bool&gt; s=
pecialization at the same time (in favor of no specialization for the subse=
quent release), but I don&#39;t see just removing it as something that has =
any chance of passing the committee.<br>

-- <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 />

--047d7bdc94eeac5f4604ddcce69e--

.
