220 4708 <e9303d5e-f51d-433f-8557-fb993611223d@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: Remove vector<bool>?
Date: Wed, 29 May 2013 10:44:47 -0700 (PDT)
Lines: 109
Approved: news@gmane.org
Message-ID: <e9303d5e-f51d-433f-8557-fb993611223d@isocpp.org>
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> <FF769E17-643C-47FE-8A3E-D28436A4B9A6@gmail.com>
 <51A638CF.5050905@wanadoo.fr>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_4655_16229991.1369849487788"
X-Trace: ger.gmane.org 1369849491 19319 80.91.229.3 (29 May 2013 17:44:51 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 29 May 2013 17:44:51 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCEKFTV6ZUMBBEP5TCGQKGQEZRWNUQY@isocpp.org Wed May 29 19:44:52 2013
Return-path: <std-proposals+bncBCEKFTV6ZUMBBEP5TCGQKGQEZRWNUQY@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+bncBCEKFTV6ZUMBBEP5TCGQKGQEZRWNUQY@isocpp.org>)
	id 1UhkQc-0003ba-SG
	for gclcip-std-proposals@m.gmane.org; Wed, 29 May 2013 19:44:51 +0200
Original-Received: by mail-ob0-f198.google.com with SMTP id er7sf41619375obc.5
        for <gclcip-std-proposals@m.gmane.org>; Wed, 29 May 2013 10:44:49 -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=TJEWNVdqhkCmVH74rdolWAcv1sC6i5454qSkzOKfM4A=;
        b=FqDiKBuNWq7n8MbgzIhQK5o+QS5RkJw1vslhH1/Ymd4jv9w8YHWzSgrgZ34qGX+jDm
         nPsCdGC8cahzC6eeONcxKbVrkW6vt+4NZ101QV6R1Ix1RzjTTOSlU7y1lXpqyPsa9y7f
         /K2O5ZhXyB60QsO37LTdOdoWRfhAIwwDTnK2zHNz832lQYochvM2yd6CEdDeSxNGP8Ao
         s+HxJGmR5Yx5vlOPbQMFUZLJhK8ZB30tcJkIl7OYff0VleUV5J+oQNAsLEQOGGmw2J97
         sh8NXwltEI+BaNUr4SJZZTQ+JPabNC/Xnps9hs6YmLfDgS0vuw1vSVnCog1DivHIMhHq
         lciA==
X-Received: by 10.43.53.208 with SMTP id vr16mr2874445icb.9.1369849489785;
        Wed, 29 May 2013 10:44:49 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.50.77.34 with SMTP id p2ls3524150igw.23.canary; Wed, 29 May
 2013 10:44:48 -0700 (PDT)
X-Received: by 10.50.73.196 with SMTP id n4mr2464441igv.3.1369849488714;
        Wed, 29 May 2013 10:44:48 -0700 (PDT)
In-Reply-To: <51A638CF.5050905@wanadoo.fr>
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:4708
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/4708>

------=_Part_4655_16229991.1369849487788
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable



On Wednesday, May 29, 2013 10:20:15 AM UTC-7, Vicente J. Botet Escriba=20
wrote:
>
>  Le 28/05/13 22:12, Howard Hinnant a =E9crit :
> =20
> On May 28, 2013, at 4:00 PM, Nicol Bolas <jmck...@gmail.com> <javascript:=
> wrote:
>
>
>  Personally, I agree with Howard; we should add a class that has all of t=
his functionality (presumably with some degree of required sizing) that wou=
ld be a drop-in replacement for those who need the sizing features of vecto=
r<bool>. But the question remains: even with a drop-in replacement, how muc=
h code will be broken because of this?
>
>  Model this after the auto_ptr -> unique_ptr transition:
>
> Step 1:  Introduce bit_vector (or whatever) and deprecate the vector<bool=
> specialization.  /Somehow/ motivate people to migrate.
>
>  I think that we will need also to add a std::*new_*vector<T> that=20
> behaves like std::vector<T> but doesn't have the bool specialization and =
*
> deprecate* std::vector :->
>

So your solution to this significant-yet-relatively-minor-problem... is to=
=20
rip out the entire class?

I'm going to go with "no" on that.

--=20

---=20
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 e=
mail 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-proposa=
ls/?hl=3Den.



------=_Part_4655_16229991.1369849487788
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br>On Wednesday, May 29, 2013 10:20:15 AM UTC-7, Vicente J. Botet Escr=
iba wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left:=
 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">
 =20
   =20
 =20
  <div bgcolor=3D"#FFFFFF" text=3D"#000000">
    <div>Le 28/05/13 22:12, Howard Hinnant a
      =E9crit&nbsp;:<br>
    </div>
    <blockquote type=3D"cite">
      <pre>On May 28, 2013, at 4:00 PM, Nicol Bolas <a href=3D"javascript:"=
 target=3D"_blank" gdf-obfuscated-mailto=3D"Zt-gPy6b1mMJ">&lt;jmck...@gmail=
..com&gt;</a> wrote:

</pre>
      <blockquote type=3D"cite">
        <pre>Personally, I agree with Howard; we should add a class that ha=
s all of this functionality (presumably with some degree of required sizing=
) that would be a drop-in replacement for those who need the sizing feature=
s of vector&lt;bool&gt;. But the question remains: even with a drop-in repl=
acement, how much code will be broken because of this?
</pre>
      </blockquote>
      <pre>Model this after the auto_ptr -&gt; unique_ptr transition:

Step 1:  Introduce bit_vector (or whatever) and deprecate the vector&lt;boo=
l&gt; specialization.  /Somehow/ motivate people to migrate.</pre>
    </blockquote>
    I think that we will need also to add a std::<b>new_</b>vector&lt;T&gt;
    that behaves like std::vector&lt;T&gt; but doesn't have the bool
    specialization and <b>deprecate</b> std::vector :-&gt;<br></div></block=
quote><div><br>So your solution to this significant-yet-relatively-minor-pr=
oblem... is to rip out the entire class?<br><br>I'm going to go with "no" o=
n that.</div><br>

<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_4655_16229991.1369849487788--

.
