220 4717 <CAFk2RUZ6VeZijAhandw8jPC_mgnP887NsRrbPqym3R2MtEAE7g@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Ville Voutilainen <ville.voutilainen@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Remove vector<bool>?
Date: Wed, 29 May 2013 22:39:02 +0300
Lines: 91
Approved: news@gmane.org
Message-ID: <CAFk2RUZ6VeZijAhandw8jPC_mgnP887NsRrbPqym3R2MtEAE7g@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>
	<CAGg_6+OZVtZzp4ETA4sLY2eM5K4NEnzpbRfCe7F6_nO_o7odHw@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=001a11c3c426b0bb6904dde08822
X-Trace: ger.gmane.org 1369856346 32633 80.91.229.3 (29 May 2013 19:39:06 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 29 May 2013 19:39:06 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC5JHI7A7ALRBV5STGGQKGQE2UJUQTY@isocpp.org Wed May 29 21:39:05 2013
Return-path: <std-proposals+bncBC5JHI7A7ALRBV5STGGQKGQE2UJUQTY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-vc0-f199.google.com ([209.85.220.199])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC5JHI7A7ALRBV5STGGQKGQE2UJUQTY@isocpp.org>)
	id 1UhmDA-0006cs-G2
	for gclcip-std-proposals@m.gmane.org; Wed, 29 May 2013 21:39:04 +0200
Original-Received: by mail-vc0-f199.google.com with SMTP id hf12sf11761171vcb.2
        for <gclcip-std-proposals@m.gmane.org>; Wed, 29 May 2013 12:39:03 -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=IR3oDzqEgAW7jkfvV8E9d3uJLsqFVrKpVKGeXM0ruCw=;
        b=OPdrm/5eAGGZWo+ds9Fl5Bz28C0e2Q5QoZvDmJDzFQIe45plmooaQ5Pye7uRrJBf8R
         lk5KIgwEkm9Bf6Xj3PDdDu+CdsxLomqGLHxYnK818ziGWtWTWOfUw/Fx55ulZU2Duxv6
         JsCqIY+jnZjviGOMCJ095jctvwFnDRhnzJ+jUEWo5XKUfba6vbnbdRUakQIij2lBfuHD
         J/cNBykea8PKF8eSfRc1gcSbSnllcIJQJI3ey8aFfcVWi6GAc1DRVn/by0Mwpn1RkjXJ
         UFSMGV7B2QfEtPH4sNcWpmOnFEHXm6rlzy4Rh1p9nf0Q8xrYPavRVzWHC+uqh0dPJmYr
         AdbA==
X-Received: by 10.236.74.132 with SMTP id x4mr2185672yhd.34.1369856343629;
        Wed, 29 May 2013 12:39:03 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.49.75.39 with SMTP id z7ls39050qev.35.gmail; Wed, 29 May 2013
 12:39:02 -0700 (PDT)
X-Received: by 10.229.121.208 with SMTP id i16mr354576qcr.106.1369856342717;
        Wed, 29 May 2013 12:39:02 -0700 (PDT)
Original-Received: from mail-qe0-f51.google.com (mail-qe0-f51.google.com [209.85.128.51])
        by mx.google.com with ESMTPS id k1si31292303qaz.57.2013.05.29.12.39.02
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Wed, 29 May 2013 12:39:02 -0700 (PDT)
Received-SPF: pass (google.com: domain of ville.voutilainen@gmail.com designates 209.85.128.51 as permitted sender) client-ip=209.85.128.51;
Original-Received: by mail-qe0-f51.google.com with SMTP id nd7so5315097qeb.24
        for <std-proposals@isocpp.org>; Wed, 29 May 2013 12:39:02 -0700 (PDT)
X-Received: by 10.224.73.134 with SMTP id q6mr4582676qaj.63.1369856342522;
 Wed, 29 May 2013 12:39:02 -0700 (PDT)
Original-Received: by 10.224.174.143 with HTTP; Wed, 29 May 2013 12:39:02 -0700 (PDT)
In-Reply-To: <CAGg_6+OZVtZzp4ETA4sLY2eM5K4NEnzpbRfCe7F6_nO_o7odHw@mail.gmail.com>
X-Original-Sender: ville.voutilainen@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of ville.voutilainen@gmail.com designates 209.85.128.51 as permitted
 sender) smtp.mail=ville.voutilainen@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:4717
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/4717>

--001a11c3c426b0bb6904dde08822
Content-Type: text/plain; charset=ISO-8859-1

On 29 May 2013 22:36, Nevin Liber <nevin@eviloverlord.com> wrote:

> On 29 May 2013 14:21, Nicol Bolas <jmckesson@gmail.com> wrote:
>
>>
>> I thought the primary argument was to be able to create a `vector` of
>> `bool`s. I don't care about "uniformity"; what I care about is making a
>> `vector` that actually contains `bool`s.
>>
>
> Then why bother spelling it "vector<bool>", if not to be used in a generic
> and uniform context?  It is unlikely the committee is willing to swap one
> specialization of vector<bool> for another.  I am well aware that there are
> other ways to hack in std::real_bool (such as by using a traits class), but
> it's still a hack.  If it is that important, propose a different class to
> do this not spelled "vector<bool>".
>
>
>
Well, I suppose it would be a different type of hack, but those who care
about having a vector of bools
could just write a bool-wrapping struct and put that into a vector.

-- 

--- 
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.



--001a11c3c426b0bb6904dde08822
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 29 May 2013 22:36, Nevin Liber <span dir=3D"ltr">&lt;<a href=3D"=
mailto:nevin@eviloverlord.com" target=3D"_blank">nevin@eviloverlord.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 29 May 2013 14:21, Nico=
l Bolas <span dir=3D"ltr">&lt;<a href=3D"mailto:jmckesson@gmail.com" target=
=3D"_blank">jmckesson@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">

<br><div>I thought the primary argument was to be able to create a `vector`=
 of `bool`s. I don&#39;t care about &quot;uniformity&quot;; what I care abo=
ut is making a `vector` that actually contains `bool`s.<br></div></blockquo=
te>


</div><div><br>Then why bother spelling it &quot;vector&lt;bool&gt;&quot;, =
if not to be used in a generic and uniform context?=A0 It is unlikely the c=
ommittee is willing to swap one specialization of vector&lt;bool&gt; for an=
other.=A0 I am well aware that there are other ways to hack in std::real_bo=
ol (such as by using a traits class), but it&#39;s still a hack.=A0 If it i=
s that important, propose a different class to do this not spelled &quot;ve=
ctor&lt;bool&gt;&quot;.<br>


</div><div class=3D"im"><div><br><br></div></div></div></blockquote><div><b=
r></div><div>Well, I suppose it would be a different type of hack, but thos=
e who care about having a vector of bools<br></div><div>could just write a =
bool-wrapping struct and put that into a vector. <br>
</div></div><br></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 />

--001a11c3c426b0bb6904dde08822--

.
