220 23608 <fee395ce-7c56-4d07-b158-ec597a7ef94c@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: Dejan Milosavljevic <dmilos@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Dynamic/Temporal constatization
Date: Fri, 8 Jan 2016 06:20:00 -0800 (PST)
Lines: 90
Approved: news@gmane.org
Message-ID: <fee395ce-7c56-4d07-b158-ec597a7ef94c@isocpp.org>
References: <4a61195c-a3b8-446f-9d36-5dcc7287c24a@isocpp.org>
 <30e3eb60-a4dc-4ecc-b49c-73040694dc30@isocpp.org>
 <5118568f-fdfe-4106-b878-e747b775ea06@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_780_1510729374.1452262800397"
X-Trace: ger.gmane.org 1452262813 9010 80.91.229.3 (8 Jan 2016 14:20:13 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Fri, 8 Jan 2016 14:20:13 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDFYFDOFWUGBBEMLX62AKGQEMEGTG6Q@isocpp.org Fri Jan 08 15:20:13 2016
Return-path: <std-proposals+bncBDFYFDOFWUGBBEMLX62AKGQEMEGTG6Q@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yk0-f200.google.com ([209.85.160.200])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDFYFDOFWUGBBEMLX62AKGQEMEGTG6Q@isocpp.org>)
	id 1aHXtb-0000AO-Sc
	for gclcip-std-proposals@m.gmane.org; Fri, 08 Jan 2016 15:20:04 +0100
Original-Received: by mail-yk0-f200.google.com with SMTP id v14sf521197836ykd.1
        for <gclcip-std-proposals@m.gmane.org>; Fri, 08 Jan 2016 06:20:03 -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
         :content-type: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=0afGhgBIJP3XLlnRm0ytWdVrguJpmV3dY5c5qAvzK9o=;
        b=UF0oBK1Wxme301EL9+rc/Nx1q2qu2RyO5GHi2B9a4tZRQPmUK/333nsjTNdLlpO3TQ
         xgTzvrxD6EiwahNVza/FuTrn7M3m2MOSmpZJ0bDUNXmzaF+QlNKPtwS7HWGsgVxgBd6T
         upUP6009LV9tfD0xIry4Nluso2IJEwOamKyT0Oqx7FsSpBY77OSzzvB2Ek3R3GlUN1gh
         ePyxIq1UXWse7xx0y8R65c1fqEfReI/XCv7gYOnczycCokTspV0ch6hFOthOIFFEkXCU
         55HJiJKjmRyhyBQRU70DDMNWoCX14lTmpv0sNoukBUIP0Xo/KXcUFPqVdolRtK4KV1cY
         /psA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :content-type: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=0afGhgBIJP3XLlnRm0ytWdVrguJpmV3dY5c5qAvzK9o=;
        b=mHjfarC174u/buiO+4U3BgrXK/cTAbw077pH15h1jF5CWHcEUvUy9tKRO+traRauho
         XETlT53Y4FifsmFqBiROQA/G8m3qqTDp3bDMbi6h8JmzwkfLG11Z2YKNQCywGShU4G1G
         Ra0gqJjnuBs7ofZH91V7yjsqD0AAMQFXTY+30Xqt+vp+qSYa+z3MX6CCcPxwivqllqom
         x5k9mNHj6k7oFaYWu3/zDCIlF36vZJl7vklwndRm8VNr0y8lCYR2q6I/bg59wne1c1Gs
         /mzSe/nSs3jFoVaHjbJzJ+Ju6P91fh6enoQEQJ4w9nN/+QlGtixYc7sL0xaCjF43zBX7
         Z8jQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:date:from:to:message-id:in-reply-to:references
         :subject:mime-version:content-type: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=0afGhgBIJP3XLlnRm0ytWdVrguJpmV3dY5c5qAvzK9o=;
        b=M3Je+Wux52NK+lHSXkbenhv0tndzpE7ZugbP8rVH5Gg4L5k2DViX0K7KO9BdY3PpMk
         h8ggEEnRK76R7rRReIWFKkJXRLTK1xob9sKCfob9fNcf+Jmwe0RyZUrhXojH7BszS2b0
         HfctiAd2/16xxGufNBXtH41XlzlOp3FDu8Fx5xIpqly7V+vNGIoXo4BrcA6ky+ghOhxB
         dsNq9SxjghKhsqChb9GxOT2dCk4+XhW1QCAwn/AdbwlgOiUdgph7C6LJYjEe2y7fTQpS
         zEcOGm7vAe8PJfnQDFIvnbJBFcuCE9szqCFUZWCo5ehPotgb7oqC7Mfg6i7wbp35Rs9Y
         GAQA==
X-Gm-Message-State: ALoCoQkiDlulnAwEpvop2qj3PENX+qdS7l27DGDbS4s2d3zPHE8x3ypGnEQ0qIyXuptby015AK8FBzU7UTGkqkViEXqb04ab7w==
X-Received: by 10.13.223.216 with SMTP id i207mr77574148ywe.25.1452262802608;
        Fri, 08 Jan 2016 06:20:02 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.107.15.18 with SMTP id x18ls2147027ioi.90.gmail; Fri, 08 Jan
 2016 06:20:01 -0800 (PST)
X-Received: by 10.50.55.2 with SMTP id n2mr231305igp.9.1452262801426;
        Fri, 08 Jan 2016 06:20:01 -0800 (PST)
In-Reply-To: <5118568f-fdfe-4106-b878-e747b775ea06@isocpp.org>
X-Original-Sender: dmilos@gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Spam-Checked-In-Group: 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:23608
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/23608>

------=_Part_780_1510729374.1452262800397
Content-Type: multipart/alternative; 
	boundary="----=_Part_781_1023822690.1452262800397"

------=_Part_781_1023822690.1452262800397
Content-Type: text/plain; charset=UTF-8


I still give up on this, but if someone want this, I grant right to to that.

And a few thing for the record.

In my eyes it is insignificant but there are some peoples who are waiting 
for opportunity to exaggerate.

Scenario C++17:

for( auto& iter: std::as_const( cont ) ){
  //.. what ever
 }
Compiler must enter in as_const to see what is inside and at the end it 
will optimize as we want/expect.
But this require some time.

This proposal scenario:
 for( auto& iter: const( cont ) ){
   //.. what ever
  }
Compiler will just add 'const', No optimization of any kind.
Much faster than c++17.

And again some people are very peaky regarding even for a smallest thing. 
'goto' is almost banned, I have complain on using 'continue'.

'Companies rules' ( famous experiment with monkeys ) is fact, similarly it 
is time to have 'C++ ( monkey ) rules'.

etc.

-- 

--- 
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 https://groups.google.com/a/isocpp.org/group/std-proposals/.

------=_Part_781_1023822690.1452262800397
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><br>I still give up on this, but if someone want this=
, I grant right to to that.</div><div><br></div><div>And a few thing for th=
e record.</div><div><br></div><div>In my eyes it is insignificant but there=
 are some peoples who are waiting for opportunity to exaggerate.</div><div>=
<br></div><p>Scenario C++17:</p><p><font face=3D"courier new,monospace">for=
( auto&amp; iter: std::as_const( cont ) ){<br>=C2=A0 //.. what ever<br>=C2=
=A0}</font></p><div>Compiler must enter in <font face=3D"courier new,monosp=
ace">as_const</font> to see what is inside and at the end it will optimize =
as we want/expect.<br>But this require some time.</div><div><br></div><p>Th=
is proposal scenario:<br><font face=3D"courier new,monospace">=C2=A0for( au=
to&amp; iter: const( cont ) ){<br>=C2=A0=C2=A0 //.. what ever<br>=C2=A0 }</=
font></p><div>Compiler will just add &#39;const&#39;, No optimization of an=
y kind.<br>Much faster than c++17.</div><div><br></div><p>And again some pe=
ople are very peaky regarding even for a smallest thing. <br><font face=3D"=
courier new,monospace">&#39;goto&#39;</font> is almost banned, I have compl=
ain on using <font face=3D"courier new,monospace">&#39;continue&#39;</font>=
..</p><p>&#39;Companies rules&#39; ( famous experiment with monkeys ) is fac=
t, similarly it is time to have &#39;C++ ( monkey ) rules&#39;.</p><p>etc.<=
br></p></div>

<p></p>

-- <br />
<br />
--- <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 />
Visit this group at <a href=3D"https://groups.google.com/a/isocpp.org/group=
/std-proposals/">https://groups.google.com/a/isocpp.org/group/std-proposals=
/</a>.<br />

------=_Part_781_1023822690.1452262800397--
------=_Part_780_1510729374.1452262800397--

.
