220 31170 <449d2b1f-5a52-428b-b5d8-54f7c47014bc@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: "T. C." <rs2740@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: Domains of specialized `vector` variance
Date: Sun, 26 Feb 2017 09:06:17 -0800 (PST)
Lines: 116
Approved: news@gmane.org
Message-ID: <449d2b1f-5a52-428b-b5d8-54f7c47014bc@isocpp.org>
References: <38052307-8ef9-4d41-b902-826f56630c10@isocpp.org> <dc2e850c-4cf4-450c-948c-5510ee88f622@isocpp.org>
 <CAGNvRgD_UM_11iqky8oefsmVxx9gQ8qUShsHK_MxLz9bRrKTrQ@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_647_354021713.1488128777349"
X-Trace: blaine.gmane.org 1488128778 29122 195.159.176.226 (26 Feb 2017 17:06:18 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sun, 26 Feb 2017 17:06:18 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCQ43G7NQIIRBCMWZTCQKGQEPCIEJYI@isocpp.org Sun Feb 26 18:06:13 2017
Return-path: <std-proposals+bncBCQ43G7NQIIRBCMWZTCQKGQEPCIEJYI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pf0-f197.google.com ([209.85.192.197])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCQ43G7NQIIRBCMWZTCQKGQEPCIEJYI@isocpp.org>)
	id 1ci2Gy-00074P-TT
	for gclcip-std-proposals@m.gmane.org; Sun, 26 Feb 2017 18:06:13 +0100
Original-Received: by mail-pf0-f197.google.com with SMTP id r67sf104658190pfr.6
        for <gclcip-std-proposals@m.gmane.org>; Sun, 26 Feb 2017 09:06:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=eevrMupeirTZpVIviScUndSfjrbvIv5cFuR95I+iCuc=;
        b=FOVVMR8MxUHF9kh44vkhBSLjeSNEjFO1JCbJpFbfihFERajMhP5auGVoQ1Ph3YB6UN
         AwigBo3BtVATARuoPvUHgF/zJuqkp016Pnu27cmJgZegaFtHB0oQ6zgdwXQu3gOogBPe
         aoiwT9EEx8lwgonT70urJHd8I0sR24qBMO1OeVFYbcEhHeKpDI7I6h5HbZmny4bP3wO2
         eLswWYUaJtm6AmhdWKi0GmpttoFCj0J7xQKEiy1hElgWWBVfIee5Pj68M2mXnlC4CQW/
         KWz45jk1K171SfDtBqdb4y2V3cRBr9pMZqLxUC+hd/yzjTjiFOpke3KUBaFb2jJzha44
         KtVQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=eevrMupeirTZpVIviScUndSfjrbvIv5cFuR95I+iCuc=;
        b=i807XogkfvtHk987DTWAjuWP9ehZauy34/90xq31OCx3UTiTSj5ijoH9hOZGKz8jZx
         2czWe6+XiEZeZMKqI1e+qsBdy1qspaqbuZC17LwK9u1WJpl3FbnK6trEtkI0wr1u9oYk
         NfvY/7+j8Bv7frUUUK0mB+JjRMsKPFnCwAvDWtCLR/ZCgqlkQA6SA5AI4HTOVfBNFbzm
         h6wrweHWbZPY5EnbnGbq/mKhcyMZtC6Q0Sr0dAnxemk0xdHUi1goB4FV9823uzFyRwYM
         Srgnj39ZHfPT5kTbZrSiu14BZNJWIi3LiHgV5WojpybbI9YoLhbwwepIqC6tm8b0BZPY
         /c1g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:date:from:to:message-id:in-reply-to:references
         :subject:mime-version:x-original-sender:reply-to:precedence
         :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help
         :list-archive:list-subscribe:list-unsubscribe;
        bh=eevrMupeirTZpVIviScUndSfjrbvIv5cFuR95I+iCuc=;
        b=kCY8ahW+sSlOsPy+f8pjtgAHZmcYwAPfSg+iyjwIWGb426tG0AXufBxQ+nV/vbqzEO
         YXd3hhmlHs2rYPrS3w4IWkeFiNDELzFrhY+XjL0E9IP8o4QXAWHfHO/VPj97TJ+U6clP
         xSqx+JfGzcV/THfV/CJQ7SCv6UBjFc8d6DVmHuM6zu5V21D0TtnfE7pcUg30hv2FCr/e
         vU6vaOKzzx8pexmssXFPq1EE1ME6euu3R3r84uCM4eSoRp7XFpYHG5tU3a1U1bxDJ0NG
         fEJOaQtWi+nz/6p585L1+arqip4VhJYWrAni7Q/bNLoMGHcN6D3rfRgVlho/AaqQZYSM
         vdwQ==
X-Gm-Message-State: AMke39mYCmEYNjW+eldCBQ1ZZfBD2+IgdEoRGEbsqueBlrYJFOAzjxfhOenDewXRjKzMfQ==
X-Received: by 10.99.37.5 with SMTP id l5mr4816029pgl.165.1488128778632;
        Sun, 26 Feb 2017 09:06:18 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.36.230 with SMTP id z93ls10111246ota.44.gmail; Sun, 26 Feb
 2017 09:06:17 -0800 (PST)
X-Received: by 10.157.16.48 with SMTP id h45mr779681ote.10.1488128777809;
        Sun, 26 Feb 2017 09:06:17 -0800 (PST)
In-Reply-To: <CAGNvRgD_UM_11iqky8oefsmVxx9gQ8qUShsHK_MxLz9bRrKTrQ@mail.gmail.com>
X-Original-Sender: rs2740@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: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:31170
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/31170>

------=_Part_647_354021713.1488128777349
Content-Type: multipart/alternative; 
	boundary="----=_Part_648_1857871506.1488128777349"

------=_Part_648_1857871506.1488128777349
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable



On Sunday, February 26, 2017 at 8:18:41 PM UTC+8, Daniel Kr=C3=BCgler wrote=
:
>
> 2017-02-26 11:25 GMT+01:00  <inkwizyt...@gmail.com <javascript:>>:=20
> >> What are the other variances that people want?=20
> >=20
> > This could fix problem with `std::vector<bool>`, current vector would=
=20
> be:=20
> > `omni_vector<Typename, ov_compress_bool>` and if you want "normal"=20
> behavior=20
> > you will use directly `omni_vector<bool>`.=20
>
> It is very unlikely that this will happen, because that would break=20
> current valid usages of std::vector as template template parameter.=20
> For exactly that reason (That is: Don't change template parameter=20
> lists of existing Library components), Library implementations are not=20
> allowed to add further template parameters with default parameters,=20
> see=20
>
> http://cplusplus.github.io/LWG/lwg-closed.html#94=20
> <http://www.google.com/url?q=3Dhttp%3A%2F%2Fcplusplus.github.io%2FLWG%2Fl=
wg-closed.html%2394&sa=3DD&sntz=3D1&usg=3DAFQjCNFm-LmwgrlATZR39JTATmh_86RrZ=
A>=20
>
> - Daniel=20
>

P0522R0, resolving Core issue 150, should significantly alleviate the code=
=20
breakage aspect of this problem. But it certainly breaks ABI all over the=
=20
place.

--=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.
To view this discussion on the web visit https://groups.google.com/a/isocpp=
..org/d/msgid/std-proposals/449d2b1f-5a52-428b-b5d8-54f7c47014bc%40isocpp.or=
g.

------=_Part_648_1857871506.1488128777349
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><br>On Sunday, February 26, 2017 at 8:18:41 PM UTC+8, =
Daniel Kr=C3=BCgler wrote:<blockquote class=3D"gmail_quote" style=3D"margin=
: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">2017=
-02-26 11:25 GMT+01:00 =C2=A0&lt;<a href=3D"javascript:" target=3D"_blank" =
gdf-obfuscated-mailto=3D"5cAPWymfAgAJ" rel=3D"nofollow" onmousedown=3D"this=
..href=3D&#39;javascript:&#39;;return true;" onclick=3D"this.href=3D&#39;jav=
ascript:&#39;;return true;">inkwizyt...@gmail.com</a>&gt;:
<br>&gt;&gt; What are the other variances that people want?
<br>&gt;
<br>&gt; This could fix problem with `std::vector&lt;bool&gt;`, current vec=
tor would be:
<br>&gt; `omni_vector&lt;Typename, ov_compress_bool&gt;` and if you want &q=
uot;normal&quot; behavior
<br>&gt; you will use directly `omni_vector&lt;bool&gt;`.
<br>
<br>It is very unlikely that this will happen, because that would break
<br>current valid usages of std::vector as template template parameter.
<br>For exactly that reason (That is: Don&#39;t change template parameter
<br>lists of existing Library components), Library implementations are not
<br>allowed to add further template parameters with default parameters,
<br>see
<br>
<br><a href=3D"http://www.google.com/url?q=3Dhttp%3A%2F%2Fcplusplus.github.=
io%2FLWG%2Flwg-closed.html%2394&amp;sa=3DD&amp;sntz=3D1&amp;usg=3DAFQjCNFm-=
LmwgrlATZR39JTATmh_86RrZA" target=3D"_blank" rel=3D"nofollow" onmousedown=
=3D"this.href=3D&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fcplusplus.=
github.io%2FLWG%2Flwg-closed.html%2394\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAF=
QjCNFm-LmwgrlATZR39JTATmh_86RrZA&#39;;return true;" onclick=3D"this.href=3D=
&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fcplusplus.github.io%2FLWG%=
2Flwg-closed.html%2394\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFm-LmwgrlATZ=
R39JTATmh_86RrZA&#39;;return true;">http://cplusplus.github.io/<wbr>LWG/lwg=
-closed.html#94</a>
<br>
<br>- Daniel
<br></blockquote><div><br></div>P0522R0, resolving Core issue 150, should s=
ignificantly alleviate the code breakage aspect of this problem. But it cer=
tainly breaks ABI all over the place.</div>

<p></p>

-- <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 e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/449d2b1f-5a52-428b-b5d8-54f7c47014bc%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/449d2b1f-5a52-428b-b5d8-54f7c47014bc=
%40isocpp.org</a>.<br />

------=_Part_648_1857871506.1488128777349--

------=_Part_647_354021713.1488128777349--

.
