220 4726 <CAFk2RUY3d5h0PjFztbwweubM2hh7QMe2eAEX6W5uhaF9rVEiNQ@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 23:51:51 +0300
Lines: 57
Approved: news@gmane.org
Message-ID: <CAFk2RUY3d5h0PjFztbwweubM2hh7QMe2eAEX6W5uhaF9rVEiNQ@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>
	<CAGqM8fbN7E8CCFO1cSFEPHd02bHeGx0Lsz5k-BKE=Vcih0MzYQ@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=047d7bea3948170f7204dde18d6a
X-Trace: ger.gmane.org 1369860715 16337 80.91.229.3 (29 May 2013 20:51:55 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 29 May 2013 20:51:55 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC5JHI7A7ALRB2GUTGGQKGQENWGVJEQ@isocpp.org Wed May 29 22:51:55 2013
Return-path: <std-proposals+bncBC5JHI7A7ALRB2GUTGGQKGQENWGVJEQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-vc0-f198.google.com ([209.85.220.198])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC5JHI7A7ALRB2GUTGGQKGQENWGVJEQ@isocpp.org>)
	id 1UhnLd-0005Rz-HW
	for gclcip-std-proposals@m.gmane.org; Wed, 29 May 2013 22:51:53 +0200
Original-Received: by mail-vc0-f198.google.com with SMTP id gd11sf11833146vcb.5
        for <gclcip-std-proposals@m.gmane.org>; Wed, 29 May 2013 13:51:52 -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=L6XEbMv9YjhwUP02MKx3RLAdLBjov1riq11TYPN371w=;
        b=Loq2NJdckMItnMmyiFjfRCkriU4jLw4bzl6/GdaUD0U1HB1o9XdaE/bebm3MJmBkh0
         431p2j2xlD66ZQ16ZaZ7LOLw8/4oj2Ajun1e356nSq0dtDJKjsMVUuSluS3pjIdr5KTu
         lj4UmpqMXjESYE1HX14jTJQ/R2Bv3if6cLMiY1D+7XPYQOkZXQ2xdoN+gsJ+fPP75o1V
         5HGb/XCP0neh7FeBa4nDO1QbMtmjVeflHQpoCqOVtrNsgyuoEp0Mi/497UVrQbcz0i5o
         C38yOUlY9GCrI4+d9A9Pb6AVzBtEI1YZkQ8CzJs2gpLuvWsu3IR98ttb3/uGpexgBMRu
         kXnw==
X-Received: by 10.224.174.145 with SMTP id t17mr2546114qaz.4.1369860712493;
        Wed, 29 May 2013 13:51:52 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.49.127.168 with SMTP id nh8ls77746qeb.70.gmail; Wed, 29 May
 2013 13:51:51 -0700 (PDT)
X-Received: by 10.49.74.3 with SMTP id p3mr5023620qev.32.1369860711486;
        Wed, 29 May 2013 13:51:51 -0700 (PDT)
Original-Received: from mail-qe0-f46.google.com (mail-qe0-f46.google.com [209.85.128.46])
        by mx.google.com with ESMTPS id n15si13640578qcv.139.2013.05.29.13.51.51
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Wed, 29 May 2013 13:51:51 -0700 (PDT)
Received-SPF: pass (google.com: domain of ville.voutilainen@gmail.com designates 209.85.128.46 as permitted sender) client-ip=209.85.128.46;
Original-Received: by mail-qe0-f46.google.com with SMTP id 1so5295785qee.19
        for <std-proposals@isocpp.org>; Wed, 29 May 2013 13:51:51 -0700 (PDT)
X-Received: by 10.49.98.198 with SMTP id ek6mr5071860qeb.23.1369860711306;
 Wed, 29 May 2013 13:51:51 -0700 (PDT)
Original-Received: by 10.224.174.143 with HTTP; Wed, 29 May 2013 13:51:51 -0700 (PDT)
In-Reply-To: <CAGqM8fbN7E8CCFO1cSFEPHd02bHeGx0Lsz5k-BKE=Vcih0MzYQ@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.46 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:4726
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/4726>

--047d7bea3948170f7204dde18d6a
Content-Type: text/plain; charset=ISO-8859-1

On 29 May 2013 23:03, Lawrence Crowl <crowl@googlers.com> wrote:

> >
> > 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.
>
>
>
Correct. That's a downside of every case of a wrapper type. Whether that is
a concern
is left as an exercise for the designer. :)

-- 

--- 
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.



--047d7bea3948170f7204dde18d6a
Content-Type: text/html; charset=ISO-8859-1

<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On 29 May 2013 23:03, Lawrence Crowl <span dir="ltr">&lt;<a href="mailto:crowl@googlers.com" target="_blank">crowl@googlers.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">&gt;<br>
&gt; Well, I suppose it would be a different type of hack, but those<br>
&gt; who care about having a vector of bools could just write a<br>
&gt; bool-wrapping struct and put that into a vector.<br>
<br>
</div></div>I don&#39;t think that works because v[i] has a different type and<br>
selects different overload sets and instantiations.<br>
<span class="HOEnZb"><font color="#888888"><br><br></font></span></blockquote><div><br></div><div>Correct. That&#39;s a downside of every case of a wrapper type. Whether that is a concern<br></div><div>is left as an exercise for the designer. :) <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 email 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="http://groups.google.com/a/isocpp.org/group/std-proposals/?hl=en">http://groups.google.com/a/isocpp.org/group/std-proposals/?hl=en</a>.<br />
&nbsp;<br />
&nbsp;<br />

--047d7bea3948170f7204dde18d6a--

.
