220 4720 <CAGqM8fbN7E8CCFO1cSFEPHd02bHeGx0Lsz5k-BKE=Vcih0MzYQ@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Lawrence Crowl <crowl@googlers.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Remove vector<bool>?
Date: Wed, 29 May 2013 13:03:40 -0700
Lines: 35
Approved: news@gmane.org
Message-ID: <CAGqM8fbN7E8CCFO1cSFEPHd02bHeGx0Lsz5k-BKE=Vcih0MzYQ@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>
	<CAFk2RUZ6VeZijAhandw8jPC_mgnP887NsRrbPqym3R2MtEAE7g@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: ger.gmane.org 1369857826 16670 80.91.229.3 (29 May 2013 20:03:46 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 29 May 2013 20:03:46 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCY3D77DYUDBBH56TGGQKGQE2ODTGSI@isocpp.org Wed May 29 22:03:48 2013
Return-path: <std-proposals+bncBCY3D77DYUDBBH56TGGQKGQE2ODTGSI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ye0-f198.google.com ([209.85.213.198])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCY3D77DYUDBBH56TGGQKGQE2ODTGSI@isocpp.org>)
	id 1Uhmb2-0001BS-Du
	for gclcip-std-proposals@m.gmane.org; Wed, 29 May 2013 22:03:44 +0200
Original-Received: by mail-ye0-f198.google.com with SMTP id m14sf7162911yen.1
        for <gclcip-std-proposals@m.gmane.org>; Wed, 29 May 2013 13:03:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlers.com; s=googlers;
        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=PNgFE9yi+/fi2RiDhO7lb76Bum/BVQvAsyl3gONtQQw=;
        b=G4+MZcB2x66ikVEXBt6LdR+LCz3hcrBGJJPAJciYYOlPWPmhHQQ6A5erXkcxcX3hzt
         N80JKCmTmmDFAD2oBj3pqKUwPwXidl5Sa5ViS2KT+o9YnRxKcXqlZb5MTwDOeMiAVi2E
         KXeAA/4OS87Yd98O6AWi6rVIha7GY64A+e5v0=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=google.com; s=20120113;
        h=x-beenthere:mime-version:in-reply-to:references:date:message-id
         :subject:from:to:x-gm-message-state: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=PNgFE9yi+/fi2RiDhO7lb76Bum/BVQvAsyl3gONtQQw=;
        b=d5VTPLQyNO2ii64EN0VCi4OVBfiQXH7hS6RJ2Xa9gCfTEGJckaPkWfMlGk6jIwxuA4
         vhvAjfTTd5DT9P9oD/r0vZaHwaO6UMJI4N7n0yiicy5aeVotV2yEuvPk9SgulVP+JMx1
         aFzgTWp1UxSLtaCKj3PpbNs7ghWNSjK6u69OZTj2YQanUR0kNL9TV88leSIc5hupNnjn
         y+d31IcUdLQd/KSBgzKxzPZ2MtsEYcT8BlAR00sk82X6tS2GkJI5I+iXJ5NmmKGgWOn6
         pSRV/kKYePew0XGthne4m+0Oc77Lq+PhP298Fns5SAOnGwkK+tnZVLLgCYVT0AcdMJ6X
         Hc9g==
X-Received: by 10.224.42.141 with SMTP id s13mr2442996qae.3.1369857823464;
        Wed, 29 May 2013 13:03:43 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.49.5.8 with SMTP id o8ls56450qeo.24.gmail; Wed, 29 May 2013
 13:03:42 -0700 (PDT)
X-Received: by 10.229.154.207 with SMTP id p15mr1592807qcw.57.1369857822170;
        Wed, 29 May 2013 13:03:42 -0700 (PDT)
Original-Received: from mail-qa0-x22d.google.com (mail-qa0-x22d.google.com [2607:f8b0:400d:c00::22d])
        by mx.google.com with ESMTPS id a10si835741qco.67.2013.05.29.13.03.41
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Wed, 29 May 2013 13:03:41 -0700 (PDT)
Received-SPF: pass (google.com: domain of crowl@google.com designates 2607:f8b0:400d:c00::22d as permitted sender) client-ip=2607:f8b0:400d:c00::22d;
Original-Received: by mail-qa0-f45.google.com with SMTP id o13so593897qaj.4
        for <std-proposals@isocpp.org>; Wed, 29 May 2013 13:03:41 -0700 (PDT)
X-Received: by 10.224.68.10 with SMTP id t10mr4641117qai.24.1369857820908;
 Wed, 29 May 2013 13:03:40 -0700 (PDT)
Original-Received: by 10.229.1.196 with HTTP; Wed, 29 May 2013 13:03:40 -0700 (PDT)
In-Reply-To: <CAFk2RUZ6VeZijAhandw8jPC_mgnP887NsRrbPqym3R2MtEAE7g@mail.gmail.com>
X-Gm-Message-State: ALoCoQmkqjx4kCmHghE/kvwaU1cq8Vclx8D7EyxrQOYDL+pZrquSInnJPQ/z+1j8XT/VGHKESgMTvzU9kBvywvckvVAgf8vsBCtEyO2iBNA8ZcTgOeFZvK6ijNP/uM6f3lYGvjGW3gEV1ht2Vc3E+N0yeaYhrAz/Nt7IRtUB1KHSiOIUH51thyfvf2ZUj8UwmwnQ2gfk2ARH
X-Original-Sender: crowl@googlers.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of crowl@google.com designates 2607:f8b0:400d:c00::22d as permitted
 sender) smtp.mail=crowl@google.com;       dkim=pass header.i=@googlers.com;
       dmarc=pass (p=QUARANTINE dis=none) d=googlers.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:4720
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/4720>

On 5/29/13, Ville Voutilainen <ville.voutilainen@gmail.com> wrote:
> 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.

I don't think that works because v[i] has a different type and
selects different overload sets and instantiations.

-- 
Lawrence Crowl

-- 

--- 
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.



.
