220 4737 <CAGsORuCyOp146CJeveo9-hDA_JM=gACfs0kAadJrOtKHG5tGSw@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Zhihao Yuan <lichray@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Remove vector<bool>?
Date: Wed, 29 May 2013 19:03:08 -0400
Lines: 39
Approved: news@gmane.org
Message-ID: <CAGsORuCyOp146CJeveo9-hDA_JM=gACfs0kAadJrOtKHG5tGSw@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>
	<CAGg_6+Pdfny6cwyb14OR-KgtUzn7wcHxgbcoUdWPYC76VniKcw@mail.gmail.com>
	<CAGsORuDCXfk_2LiQj5Tez4TH1Dz1H-LMYm3-c33fS+vPkGrCzQ@mail.gmail.com>
	<CAGg_6+Ou+4rwxx6NFLCZRUijc6J-GHqN_vHbaKA+UELM=WETfg@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 1369868590 30393 80.91.229.3 (29 May 2013 23:03:10 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 29 May 2013 23:03:10 +0000 (UTC)
To: "std-proposals@isocpp.org" <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCUILMGRQMARBLMSTKGQKGQER2E6LWY@isocpp.org Thu May 30 01:03:10 2013
Return-path: <std-proposals+bncBCUILMGRQMARBLMSTKGQKGQER2E6LWY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-wg0-f72.google.com ([74.125.82.72])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCUILMGRQMARBLMSTKGQKGQER2E6LWY@isocpp.org>)
	id 1UhpOg-0007qI-GY
	for gclcip-std-proposals@m.gmane.org; Thu, 30 May 2013 01:03:10 +0200
Original-Received: by mail-wg0-f72.google.com with SMTP id k13sf7455608wgh.3
        for <gclcip-std-proposals@m.gmane.org>; Wed, 29 May 2013 16:03:10 -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=/f+5ASgDz3Y/F1GVMIFiLE/1Z+CbT2vKFrv4hXP9UZ8=;
        b=asi+xjqB5I/dGlO3M+iU/AwMOjjZzDFwLTETA1d0sDLZrHssz8Fy5zhDVrXIU4lPb/
         e7iIejKFbjlupClSpSCinAISGDVpUePQXKwhGB4YenxD3eZnIYKn1tmsE928SYSRZx98
         JHnvmpH5RkvxYqV0kdm/wElR4CpLoswM6adY9WFZ+Ia9Bey7Jz+zrEWij4Kd/qvzM5kc
         Fma+qoInf8C1UsbT6dpnnEeam2OBm1Iiua2fi6qMb0AZVmkE4Kg4UHhVHh43AxhfLmOX
         Z9MrZjJIEWds25uCX3Ouu1dNL2X85jR5XZ0yEh1U+2GonZVwH3+u/orB9uXxcnHGEaY/
         xWHw==
X-Received: by 10.180.85.5 with SMTP id d5mr1769925wiz.0.1369868590038;
        Wed, 29 May 2013 16:03:10 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.180.108.200 with SMTP id hm8ls106201wib.49.gmail; Wed, 29 May
 2013 16:03:09 -0700 (PDT)
X-Received: by 10.14.47.136 with SMTP id t8mr7203526eeb.47.1369868589089;
        Wed, 29 May 2013 16:03:09 -0700 (PDT)
Original-Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com [209.85.217.177])
        by mx.google.com with ESMTPS id g44si23721778eeo.83.2013.05.29.16.03.08
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Wed, 29 May 2013 16:03:09 -0700 (PDT)
Received-SPF: pass (google.com: domain of lichray@gmail.com designates 209.85.217.177 as permitted sender) client-ip=209.85.217.177;
Original-Received: by mail-lb0-f177.google.com with SMTP id o10so9515564lbi.22
        for <std-proposals@isocpp.org>; Wed, 29 May 2013 16:03:08 -0700 (PDT)
X-Received: by 10.112.2.9 with SMTP id 9mr2513475lbq.68.1369868588407; Wed, 29
 May 2013 16:03:08 -0700 (PDT)
Original-Received: by 10.112.146.99 with HTTP; Wed, 29 May 2013 16:03:08 -0700 (PDT)
In-Reply-To: <CAGg_6+Ou+4rwxx6NFLCZRUijc6J-GHqN_vHbaKA+UELM=WETfg@mail.gmail.com>
X-Original-Sender: lichray@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of lichray@gmail.com designates 209.85.217.177 as permitted sender)
 smtp.mail=lichray@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:4737
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/4737>

On Wed, May 29, 2013 at 6:15 PM, Nevin Liber <nevin@eviloverlord.com> wrote:
>> When I say "optimization words" I mean the words those break the
>> container natural to allow the optimization.  If you remove the those
>> words,
>> the optimization is disabled.  The real users can longer count on it.
>
>
> If this breaks users of C++14 vector<bool>, then it is a non-starter for
> C++17.

If the non-mandatory optimization is required to be kept, then I'm
pretty sure we can make no useful changes to C++14 vector<bool>.

> With a new class that has the optimizations Howard talked about, as well as
> a transition period of (at least) one standard cycle where the old behavior
> of vector<bool> is deprecated but doesn't change.

TS: std::bit_vector
C++17: deprecation
C++2x: removal (completely)

You mean this?  OMG...

--
Zhihao Yuan, ID lichray
The best way to predict the future is to invent it.
___________________________________________________
4BSD -- http://4bsd.biz/

-- 

--- 
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.



.
