220 22210 <d1e72b84-25de-445e-9a77-dec68b86f9ae@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: Columbo <r.hl@gmx.net>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Local constexpr variables and static storage duration
Date: Tue, 3 Nov 2015 01:15:51 -0800 (PST)
Lines: 57
Approved: news@gmane.org
Message-ID: <d1e72b84-25de-445e-9a77-dec68b86f9ae@isocpp.org>
References: <b75bf62e-cad0-4e8a-b086-40bd717b1ec7@isocpp.org>
 <D1B29E5B-EB2A-4F03-98C7-05A03585DD1A@gmail.com>
 <dc7e7a7c-09f3-46da-a940-a2fc9e3fffbf@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_246_1050974542.1446542151824"
X-Trace: ger.gmane.org 1446542157 5028 80.91.229.3 (3 Nov 2015 09:15:57 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Tue, 3 Nov 2015 09:15:57 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDRN5RPSR4MRBSHW4GYQKGQESS6MINQ@isocpp.org Tue Nov 03 10:15:56 2015
Return-path: <std-proposals+bncBDRN5RPSR4MRBSHW4GYQKGQESS6MINQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pa0-f70.google.com ([209.85.220.70])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDRN5RPSR4MRBSHW4GYQKGQESS6MINQ@isocpp.org>)
	id 1ZtXh4-0005wz-Lg
	for gclcip-std-proposals@m.gmane.org; Tue, 03 Nov 2015 10:15:54 +0100
Original-Received: by padda3 with SMTP id da3sf38678391pad.0
        for <gclcip-std-proposals@m.gmane.org>; Tue, 03 Nov 2015 01:15:53 -0800 (PST)
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=6iJU7lXCMtnw+0pcOAkMmmEctaT3ua11mUAzuD7dXzE=;
        b=kJ6HkrYtCPcEYfB4U/9FTKfgreSRfMrEIQmWzJTR+SHn7NrGJVu7AWJd0zmedaEPoH
         xjE/U3llbG9Giop2bIUkhERqhZeV+rnaizNWrTCIKJf8LJpTtAyHVLquI36xTFvlHDD1
         4LDaAk7TRrlV3UMKoWmPKPphBjpOgaCytKLUxNdkTAqWHpAJtwML29H9qL00tTs2IXxk
         F615+d4m/Ll0V7904UOse3EfN6S69QwUa1+hIhfCD4SFNZel1794Bk5UCLYIj5dMd+my
         qKWmWq+TNcjQRcR4rfqbScCINfcGY7Jw8GGMW0qZM1bYQb5hdyQOF+/zR8Ndf9HEzXXE
         7eeA==
X-Gm-Message-State: ALoCoQkXbTacwMWdqyfM1NbxkxIu1qXelewTDKs2ZwL5vuFCAcZ6Qi2a47HTD1+XpIrYGHjYaLRv
X-Received: by 10.66.154.170 with SMTP id vp10mr13917309pab.29.1446542153292;
        Tue, 03 Nov 2015 01:15:53 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.107.155.3 with SMTP id d3ls20646ioe.74.gmail; Tue, 03 Nov 2015
 01:15:52 -0800 (PST)
X-Received: by 10.50.225.70 with SMTP id ri6mr298093igc.9.1446542152566;
        Tue, 03 Nov 2015 01:15:52 -0800 (PST)
In-Reply-To: <dc7e7a7c-09f3-46da-a940-a2fc9e3fffbf@isocpp.org>
X-Original-Sender: R.HL@gmx.net
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: <http://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <http://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>,
 <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:22210
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/22210>

------=_Part_246_1050974542.1446542151824
Content-Type: multipart/alternative; 
	boundary="----=_Part_247_1857334836.1446542151824"

------=_Part_247_1857334836.1446542151824
Content-Type: text/plain; charset=UTF-8

On Tuesday, November 3, 2015 at 9:07:21 AM UTC, Columbo wrote:
>
> The array held is temporary, thus not having static storage duration. 
> Hence the "permitted result" rule is guaranteed to apply, AFAICS. 
>
Sorry, I have to rectify that first sentence: The array does not have 
static storage duration unless the initializer_list does. So actually, in 
namespace scope, your program should compile.

-- 

--- 
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/.

------=_Part_247_1857334836.1446542151824
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On Tuesday, November 3, 2015 at 9:07:21 AM UTC, Columbo wr=
ote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex=
;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"ltr"><div>The =
array held is temporary, thus not having static storage duration. Hence the=
 &quot;permitted result&quot; rule is guaranteed to apply, AFAICS.=C2=A0</d=
iv></div></blockquote><div>Sorry, I have to rectify that first sentence: Th=
e array does not have static storage duration unless the <font face=3D"cour=
ier new, monospace">initializer_list</font> does. So actually, in namespace=
 scope, your program should compile.</div><div><br></div></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"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

------=_Part_247_1857334836.1446542151824--
------=_Part_246_1050974542.1446542151824--

.
