220 4669 <CAGsORuCAYz28vTFgcVLb4Oh+BM3=DAHzT2zWfdKomGVhspDnOA@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: Tue, 28 May 2013 13:11:48 -0400
Lines: 27
Approved: news@gmane.org
Message-ID: <CAGsORuCAYz28vTFgcVLb4Oh+BM3=DAHzT2zWfdKomGVhspDnOA@mail.gmail.com>
References: <CAGsORuDQdeWAO5yjA6=h0hW9Y0Sj4F1gcHB61udw5JFmtx+g4Q@mail.gmail.com>
	<CAGg_6+O9XJucMxwEhU+50Dzx0Tz7XRK0cWyrkUHuPSoEz9TqEw@mail.gmail.com>
	<e59c2a57-6068-4098-8667-5d086b2961fd@isocpp.org>
	<CAGg_6+PaHgwz878cES0wHAXP1akygZ1f=DWw0i2sZ=SLqdE9xA@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 1369761108 13178 80.91.229.3 (28 May 2013 17:11:48 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Tue, 28 May 2013 17:11:48 +0000 (UTC)
To: "std-proposals@isocpp.org" <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCUILMGRQMARBVGKSOGQKGQEH3HXEYI@isocpp.org Tue May 28 19:11:49 2013
Return-path: <std-proposals+bncBCUILMGRQMARBVGKSOGQKGQEH3HXEYI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-fa0-f71.google.com ([209.85.161.71])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCUILMGRQMARBVGKSOGQKGQEH3HXEYI@isocpp.org>)
	id 1UhNR7-0004f9-FA
	for gclcip-std-proposals@m.gmane.org; Tue, 28 May 2013 19:11:49 +0200
Original-Received: by mail-fa0-f71.google.com with SMTP id s1sf6199620fas.10
        for <gclcip-std-proposals@m.gmane.org>; Tue, 28 May 2013 10:11:49 -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=h8ysHIZfHmmWD7rqfdNGsWZGn3TXPOpY1DC2auLHXO8=;
        b=CxCTkxB1kOhZfEIsFmyR8uX7RLEl4AHJB5sS8BJjMOYRJEEFCnOwTBeEf6PKZUK5un
         d1RqsDfc0OQbBrCzd3t2O7R+ISQ3jYl9ALJ4E20rAxyuVq5qJridGOZRWcEHOVDqw/zC
         ah9hHXUXs9Gr8ywkJBKMMn67kiDJj9DthmxJBiYMBWcS1Wlh5GVWxThmqfHI4CoM32mu
         oFuzoeam695DqxrRd5exdW6rKgy+LVsToGPp5Gjp8YzE+Ol4QFFRJIUjZSZKqjDfbkAa
         NM8TDyLOcTT/x5WSjfjQ9ua08cjuyLTLW1l7VICFrnyAESPYoUFAqMlVgbAnx2E+RA4r
         P2ZQ==
X-Received: by 10.112.33.205 with SMTP id t13mr2379132lbi.13.1369761108874;
        Tue, 28 May 2013 10:11:48 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.152.116.71 with SMTP id ju7ls215002lab.62.gmail; Tue, 28 May
 2013 10:11:48 -0700 (PDT)
X-Received: by 10.112.131.129 with SMTP id om1mr15952194lbb.45.1369761108290;
        Tue, 28 May 2013 10:11:48 -0700 (PDT)
Original-Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com [209.85.217.171])
        by mx.google.com with ESMTPS id u6si10316207lbu.160.2013.05.28.10.11.48
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Tue, 28 May 2013 10:11:48 -0700 (PDT)
Received-SPF: pass (google.com: domain of lichray@gmail.com designates 209.85.217.171 as permitted sender) client-ip=209.85.217.171;
Original-Received: by mail-lb0-f171.google.com with SMTP id v20so8059840lbc.16
        for <std-proposals@isocpp.org>; Tue, 28 May 2013 10:11:48 -0700 (PDT)
X-Received: by 10.112.132.163 with SMTP id ov3mr16898074lbb.48.1369761108109;
 Tue, 28 May 2013 10:11:48 -0700 (PDT)
Original-Received: by 10.112.146.99 with HTTP; Tue, 28 May 2013 10:11:48 -0700 (PDT)
In-Reply-To: <CAGg_6+PaHgwz878cES0wHAXP1akygZ1f=DWw0i2sZ=SLqdE9xA@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.171 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:4669
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/4669>

On Tue, May 28, 2013 at 12:40 PM, Nevin Liber <nevin@eviloverlord.com> wrote:
> It *obviously* breaks users, given 23.3.1 "To optimize space allocation, a
> specialization of vector for bool elements is provided" (not to mention the
> need to support "flip()", but at least that breaking change isn't silent).

I see.  But:

1. Optimization is not mandatory, let's forget about it;
2. It's OK to backport some special interfaces, like `flip()`, which can be
    SFINAEd if T is not bool.

--
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.



.
