220 4733 <CAGg_6+Pdfny6cwyb14OR-KgtUzn7wcHxgbcoUdWPYC76VniKcw@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 16:47:45 -0500
Lines: 83
Approved: news@gmane.org
Message-ID: <CAGg_6+Pdfny6cwyb14OR-KgtUzn7wcHxgbcoUdWPYC76VniKcw@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>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=047d7bb042046ea9b704dde257e0
X-Trace: ger.gmane.org 1369864111 19594 80.91.229.3 (29 May 2013 21:48:31 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 29 May 2013 21:48:31 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCE35H5S6IDBBKXPTGGQKGQEAOH5DZA@isocpp.org Wed May 29 23:48:29 2013
Return-path: <std-proposals+bncBCE35H5S6IDBBKXPTGGQKGQEAOH5DZA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-gg0-f199.google.com ([209.85.161.199])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCE35H5S6IDBBKXPTGGQKGQEAOH5DZA@isocpp.org>)
	id 1UhoEO-0007uj-8X
	for gclcip-std-proposals@m.gmane.org; Wed, 29 May 2013 23:48:28 +0200
Original-Received: by mail-gg0-f199.google.com with SMTP id q3sf10269355gge.6
        for <gclcip-std-proposals@m.gmane.org>; Wed, 29 May 2013 14:48:27 -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=C2egJEM+UYPKEAauA00/gQmTDpy4ww/n+tSW0Wi4wzg=;
        b=LO1orSHom8T69VrSdeqLxUrlW7/qjcidxf9Wp03LPRk/fNFFYFA6UtnAbu+qdb0Xm4
         hqI/2PDEyroiUhNM/zaa877iNOxEEujyNo2ANTTpGdS4YQTSWwmBI2onkTIsAf6PFtV/
         xpEX9D/h+5FlHNUosSB6O0T4tFer7G1KCfm8d7QjKmyQwf1IrqzxNXlIgeEcYGc2u3B6
         9eEimx25m1IZZCADSsEtKHjMeHrkKJMel5hER2ACuS2aUAmOMXaANUGv39F1dDcBQEeY
         LQJ0Pl+evte1Ajzq6MXtLuuX/PtnH+1BUESPvGBpnn6BzAxcR4Na+bESUgQtahHu7acQ
         FUUg==
X-Received: by 10.224.205.138 with SMTP id fq10mr2635929qab.1.1369864107334;
        Wed, 29 May 2013 14:48:27 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.49.64.196 with SMTP id q4ls94472qes.72.gmail; Wed, 29 May 2013
 14:48:26 -0700 (PDT)
X-Received: by 10.224.10.9 with SMTP id n9mr5041216qan.54.1369864106202;
        Wed, 29 May 2013 14:48:26 -0700 (PDT)
Original-Received: from mail-qe0-f48.google.com (mail-qe0-f48.google.com [209.85.128.48])
        by mx.google.com with ESMTPS id bq6si13714208qcb.96.2013.05.29.14.48.26
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Wed, 29 May 2013 14:48:26 -0700 (PDT)
Received-SPF: pass (google.com: domain of nliber@gmail.com designates 209.85.128.48 as permitted sender) client-ip=209.85.128.48;
Original-Received: by mail-qe0-f48.google.com with SMTP id 2so4746968qea.21
        for <std-proposals@isocpp.org>; Wed, 29 May 2013 14:48:26 -0700 (PDT)
X-Received: by 10.49.130.131 with SMTP id oe3mr5176700qeb.24.1369864106057;
 Wed, 29 May 2013 14:48:26 -0700 (PDT)
Original-Sender: nliber@gmail.com
Original-Received: by 10.49.64.165 with HTTP; Wed, 29 May 2013 14:47:45 -0700 (PDT)
In-Reply-To: <CAGsORuCLLH5tCmnir7tVM68rGmYdnfL2VtxZ9XMK8=aEDppCqw@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 209.85.128.48 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:4733
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/4733>

--047d7bb042046ea9b704dde257e0
Content-Type: text/plain; charset=ISO-8859-1

On 29 May 2013 16:21, Zhihao Yuan <lichray@gmail.com> wrote:

>
> What I don't understand it, what is the difference between removing
> the optimization words and removing the specialization +
> supporting vector<bool>'s extra interfaces in vector<T> when T == bool.
>

Because real users, and in all likelihood the majority of current users of
vector<bool>, count on the space optimization even though it isn't
normative, since that was most certainly the intent of the specialization.
We don't live in an ivory tower.

IMO, the correct "fix" is (1) address current users who need the space
optimization that vector<bool> provides, and (2) vector (and generic code
using vector) should neither know nor care that it is being instantiated
with a bool.  If that isn't where we are heading, I see no reason to mess
with either vector or vector<bool>.
-- 
 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.



--047d7bb042046ea9b704dde257e0
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 29 May 2013 16:21, 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>What I don&#39;t understand it, what is the difference between removi=
ng<br>
the optimization words and removing the specialization +<br>
supporting vector&lt;bool&gt;&#39;s extra interfaces in vector&lt;T&gt; whe=
n T =3D=3D bool.<br></blockquote><div><br>Because real users, and in all li=
kelihood the majority of current users of vector&lt;bool&gt;, count on the =
space optimization even though it isn&#39;t normative, since that was most =
certainly the intent of the specialization.=A0 We don&#39;t live in an ivor=
y tower.<br>

<br>IMO, the correct &quot;fix&quot; is (1) address current users who need =
the space optimization that vector&lt;bool&gt; provides, and (2) vector (an=
d generic code using vector) should neither know nor care that it is being =
instantiated with a bool.=A0 If that isn&#39;t where we are heading, I see =
no reason to mess with either vector or vector&lt;bool&gt;.<br clear=3D"all=
">

</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 />

--047d7bb042046ea9b704dde257e0--

.
