220 5834 <CAGsORuA9cKx_5pHBtyz5g3fpPuAXfe3112N8Uwqh_x3G0zATGg@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Zhihao Yuan <zy@miator.net>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Remove vector<bool>?
Date: Mon, 26 Aug 2013 10:38:20 -0400
Lines: 36
Approved: news@gmane.org
Message-ID: <CAGsORuA9cKx_5pHBtyz5g3fpPuAXfe3112N8Uwqh_x3G0zATGg@mail.gmail.com>
References: <CAGsORuDQdeWAO5yjA6=h0hW9Y0Sj4F1gcHB61udw5JFmtx+g4Q@mail.gmail.com>	<b06daeb3-a585-4c55-aebf-cae643146838@isocpp.org>	<CAGg_6+O_d85CBjT+cTV6vQqepUTXVvUMV_QUioS6ELpQCav6GQ@mail.gmail.com>	<521B07D2.8070000@beamways.com>	<7d0bc129-f8aa-4803-bbd9-bd5ca504d728@isocpp.org>	<CAGsORuB8omCBfjco6i_zENDn23tx-5wg1jeHuhsGsiVMbGk+Ww@mail.gmail.com>	<CAGNvRgAtw=6xuwwMSCSm2BM0H57Cx0y8c=adxVcNKuFFt=iW2w@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
Content-Transfer-Encoding: quoted-printable
X-Trace: ger.gmane.org 1377527903 8054 80.91.229.3 (26 Aug 2013 14:38:23 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Mon, 26 Aug 2013 14:38:23 +0000 (UTC)
To: "std-proposals@isocpp.org" <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCSKRWMD4EHBBXWQ5WIAKGQE5T34CSY@isocpp.org Mon Aug 26 16:38:26 2013
Return-path: <std-proposals+bncBCSKRWMD4EHBBXWQ5WIAKGQE5T34CSY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-oa0-f70.google.com ([209.85.219.70])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCSKRWMD4EHBBXWQ5WIAKGQE5T34CSY@isocpp.org>)
	id 1VDxw0-0007ut-CK
	for gclcip-std-proposals@m.gmane.org; Mon, 26 Aug 2013 16:38:24 +0200
Original-Received: by mail-oa0-f70.google.com with SMTP id l20sf8128916oag.5
        for <gclcip-std-proposals@m.gmane.org>; Mon, 26 Aug 2013 07:38:23 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=google.com; s=20120113;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :sender:x-original-sender:x-original-authentication-results:reply-to
         :precedence:mailing-list:list-id:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe:content-type
         :content-transfer-encoding;
        bh=wCoSfcd13GGPYWqcPfXTCRsKgBUNWbORHze4nGsg6xY=;
        b=mUxbhBy4hrBYZcd1i/aLMsRBBa9J/U9RuOkv9IW4d2x/4/Xux9O3lskjKhfJVyL4nO
         B/2EEFxjZ3Ful05MO3ztOxytNKrFqbKnJj71KiRm2fghqoHE7C8Ri3AJNN4f4Zck30cv
         I1HK+UH0l9wzx1ZxPeXcywSb6lZF5HRKmI3jswGnJHYQ28hBsOb3x0h7YKgWxtldZQnu
         j3/s+De5b/EL5mg0+5cySp228Ayr7okp+/EQRreeGTeGmhhsFBuU1LRcCv9W2ktaMTqu
         /DKm6RTRQiL+5ClIxGgvsdwK3AoLhNMqQ5nMjshrXUApV26wN85ZYtiP8cmvY2O1V98j
         ev4g==
X-Received: by 10.42.100.139 with SMTP id a11mr2029358ico.5.1377527903091;
        Mon, 26 Aug 2013 07:38:23 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.50.32.68 with SMTP id g4ls2357292igi.5.canary; Mon, 26 Aug
 2013 07:38:22 -0700 (PDT)
X-Received: by 10.50.77.72 with SMTP id q8mr6830365igw.14.1377527901910;
        Mon, 26 Aug 2013 07:38:21 -0700 (PDT)
Original-Received: from mail-s68.mailgun.info (mail-s68.mailgun.info. [184.173.153.196])
        by mx.google.com with ESMTP id mc6si7864843icc.144.1969.12.31.16.00.00;
        Mon, 26 Aug 2013 07:38:21 -0700 (PDT)
Received-SPF: pass (google.com: domain of bounce+3f9131.69110-std-proposals=isocpp.org@miator.net designates 184.173.153.196 as permitted sender) client-ip=184.173.153.196;
Original-Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com
 [209.85.128.175]) by mxa.mailgun.org with ESMTP id
 521b685c.7f86a40c1bb0-in1; Mon, 26 Aug 2013 14:38:20 -0000 (UTC)
Original-Received: by mail-ve0-f175.google.com with SMTP id oy10so2181403veb.34 for
 <std-proposals@isocpp.org>; Mon, 26 Aug 2013 07:38:20 -0700 (PDT)
X-Received: by 10.52.120.7 with SMTP id ky7mr12845619vdb.12.1377527900118;
 Mon, 26 Aug 2013 07:38:20 -0700 (PDT)
Original-Received: by 10.220.250.6 with HTTP; Mon, 26 Aug 2013 07:38:20 -0700 (PDT)
In-Reply-To: <CAGNvRgAtw=6xuwwMSCSm2BM0H57Cx0y8c=adxVcNKuFFt=iW2w@mail.gmail.com>
X-Mailgun-Sid: WyI3MTBkYiIsICJzdGQtcHJvcG9zYWxzQGlzb2NwcC5vcmciLCAiNjkxMTAiXQ==
Original-Sender: zy@miator.net
X-Original-Sender: zy@miator.net
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of bounce+3f9131.69110-std-proposals=isocpp.org@miator.net designates
 184.173.153.196 as permitted sender) smtp.mail=bounce+3f9131.69110-std-proposals=isocpp.org@miator.net;
       dkim=pass header.i=@miator.net
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>, <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:5834
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/5834>

On Mon, Aug 26, 2013 at 10:23 AM, Daniel Kr=FCgler
<daniel.kruegler@gmail.com> wrote:
> IMO the only reasonable choice is to retry that step - the current
> iterator categories *are* broken.

Then the next problem comes.  After the iterator requirements are
fixed, bit iterators are still slow.  Yes, we can specialized known
STL algorithms for the bit iterators, like what libc++ did.  But --
user can not create their own algorithms to benefit from those.
Then Bengt comes and says, we need to open the APIs for
bit iterators...

Worth?  Maybe it's just "easier" to let all C++ books criticize
`vector<bool>` years after years.

I prefer to use `std::basic_string`'s approach: index-based
operations as member functions -- without iterators -- just
make the things possible into things working.

--=20
Zhihao Yuan, ID lichray
The best way to predict the future is to invent it.
___________________________________________________
4BSD -- http://4bsd.biz/

--=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/.

.
