220 34904 <5c1bc3ef-c3a2-4406-8a7a-f82e12155386@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: euloanty@live.com
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Thoughts on more methods towards containers in
 the future
Date: Sat, 14 Oct 2017 08:02:29 -0700 (PDT)
Lines: 62
Approved: news@gmane.org
Message-ID: <5c1bc3ef-c3a2-4406-8a7a-f82e12155386@isocpp.org>
References: <973f04da-1354-44f4-9d1f-23f04596b8dc@isocpp.org>
 <20171014085305.GA24512@fukushima.lysator.liu.se> <79c51b8c-6cc2-4872-8651-9dae513d1e21@isocpp.org>
 <1550fc17-cf97-438d-9e7a-862f729adbf5@isocpp.org> <0cc942cf-a217-4175-98b0-b466ac224dc7@isocpp.org>
 <b50be367-9a0c-4d62-a392-d2b4471d7403@isocpp.org> <e5065ef4-4802-4241-8357-cfb93ba25bae@isocpp.org>
 <e6b61d03-a64e-48fd-81b5-5a5f937f6d1a@isocpp.org> <7e04a500-ba3a-432a-a844-7d4def1fb739@isocpp.org>
 <CADtNNhgCeGu71ZU864hhiyvgNp3eFvh79HFGiVBJdaeSXDVQJA@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_3066_1958721875.1507993349175"
X-Trace: blaine.gmane.org 1507993354 27216 195.159.176.226 (14 Oct 2017 15:02:34 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sat, 14 Oct 2017 15:02:34 +0000 (UTC)
Cc: euloanty@live.com
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDPYX6PYRQNBBBOORDHQKGQEXEZ5O6Q@isocpp.org Sat Oct 14 17:02:30 2017
Return-path: <std-proposals+bncBDPYX6PYRQNBBBOORDHQKGQEXEZ5O6Q@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-vk0-f72.google.com ([209.85.213.72])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBDPYX6PYRQNBBBOORDHQKGQEXEZ5O6Q@isocpp.org>)
	id 1e3NxH-0005ne-OA
	for gclcip-std-proposals@m.gmane.org; Sat, 14 Oct 2017 17:02:23 +0200
Original-Received: by mail-vk0-f72.google.com with SMTP id n70sf4324588vkf.8
        for <gclcip-std-proposals@m.gmane.org>; Sat, 14 Oct 2017 08:02:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to:cc:message-id:in-reply-to:references:subject
         :mime-version:x-original-sender:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe;
        bh=8FT6mxGCTOr7WAg+A/S1FCOc307DAnDgbb++thkyyMs=;
        b=Sq8MemyTXXOZDuR25KzGr96LWSJ0F0NjvYWgdJkT/hyhBdqFgOsBdDYZtO0q0kyLA4
         tAj8ZVCD0+rreIPwJWxgR7S6ViDLrI0WEOm2uU+BMxgVstRwM+fPQ+yGowIS0+Gbgwqq
         dJEt7xbT2p4eDo3YOWaHrHSN1XIUId3jf/zJcuTkgkkPZvDKKzxmUlzMLLunpy5uXa8N
         QP84DLeSVVSSLe5ah4apgEGxa9dPiCS95htvAceIal4zVsj1ad3JFEwbV1EWGJC7Mxfa
         Lador2efjm1VuJGhMYRGGWaOi240lkW/B1ng72nUrTDNlchJpH3kgBCYjrnopoBccs+a
         zrww==
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:cc: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=8FT6mxGCTOr7WAg+A/S1FCOc307DAnDgbb++thkyyMs=;
        b=VcWpQqU49VXerj00Hnn6yj40a3xfknoJLaSA9Db2qBAfQV72oERzcQ6/GyKHgzdISU
         +aD9pQwaocanheXhhBc+sLLyHkxJ75+XOee8Zc/uc0ZD3w+ZK+2pf1Ldmwh8nh4AnJh0
         SVRn37lZ61z0jGw4ZxcEaqsoHv6XwiD6Ze92Nv2RzGUgvVgM0qYCNcG/4gmu3Yud+zr1
         GpHchRROh9y+yJHyMwDSlAisoruh+45X3SGvHaibo60AiX+uL26FzU3J3PZHffPAraXF
         J6o2LOlXDDJJlJjVz8vXNXibC1Ea2R479wBeKM0UV63ajzBNkseALsL7A8S+jqYs1JZK
         V0Zw==
X-Gm-Message-State: AMCzsaVvLAmhL3W9o3Ve7ukgmKkZxDJbRODD4TxEJ7G2Ya6ZfuI/o7KW
	Lv+RFHJYZKbv0uhToBX3h9mW8Q==
X-Google-Smtp-Source: AOwi7QBqyZQDySFCLhP+ec1/hz5Jk3w7UsIB0ENdzpHhZPBhwDq4tROPuZcntHQ219E/bOOROXpXiQ==
X-Received: by 10.176.8.136 with SMTP id n8mr2103292uaf.46.1507993351130;
        Sat, 14 Oct 2017 08:02:31 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.176.22.18 with SMTP id k18ls2449192uae.15.gmail; Sat, 14 Oct
 2017 08:02:29 -0700 (PDT)
X-Received: by 10.31.201.3 with SMTP id z3mr305923vkf.0.1507993349673;
        Sat, 14 Oct 2017 08:02:29 -0700 (PDT)
In-Reply-To: <CADtNNhgCeGu71ZU864hhiyvgNp3eFvh79HFGiVBJdaeSXDVQJA@mail.gmail.com>
X-Original-Sender: euloanty@live.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:34904
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/34904>

------=_Part_3066_1958721875.1507993349175
Content-Type: multipart/alternative; 
	boundary="----=_Part_3067_883668400.1507993349176"

------=_Part_3067_883668400.1507993349176
Content-Type: text/plain; charset="UTF-8"

The main purpose of C++ containers is to compete with other C style/OOP 
style implementation. If you add if check for [], that would encourage 
people continue to use c-style-array for better performance.

You have to do everything to make people not have a reason to write their 
own version of container (for doing the same thing).

On Saturday, October 14, 2017 at 10:36:19 AM UTC-4, Jan Wilmans wrote:

> would be a breaking change, defeats the purpose of [] and is easy to write 
> if you need it...
>

-- 
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.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/5c1bc3ef-c3a2-4406-8a7a-f82e12155386%40isocpp.org.

------=_Part_3067_883668400.1507993349176
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>The main purpose of C++ containers is to compete with=
 other C style/OOP style implementation. If you add if check for [], that w=
ould encourage people continue to use c-style-array for better performance.=
</div><div><br></div><div>You have to do everything to make people not have=
 a reason to write their own version of container (for doing the same thing=
).<br><br>On Saturday, October 14, 2017 at 10:36:19 AM UTC-4, Jan Wilmans w=
rote:</div><blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left=
: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"auto"><=
div>would be a breaking change, defeats the purpose of [] and is easy to wr=
ite if you need it...</div></div>
</blockquote></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/5c1bc3ef-c3a2-4406-8a7a-f82e12155386%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/5c1bc3ef-c3a2-4406-8a7a-f82e12155386=
%40isocpp.org</a>.<br />

------=_Part_3067_883668400.1507993349176--

------=_Part_3066_1958721875.1507993349175--

.
