220 10460 <19B05C1A-65AA-466E-B9E6-DC5B8D5776D4@gmail.com> article
Path: news.gmane.org!not-for-mail
From: David Krauss <potswa@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Add compiler time attributes like c#
Date: Thu, 1 May 2014 10:46:15 +0800
Lines: 91
Approved: news@gmane.org
Message-ID: <19B05C1A-65AA-466E-B9E6-DC5B8D5776D4@gmail.com>
References: <e9533cfc-f35c-4313-aaaf-a6d3d8aa00f9@isocpp.org> <CAOU91OOiEnyF6m=8hetJxCsBxs1UkRYu3xn_LOFuMk0xuv8WcQ@mail.gmail.com> <85900e94-bdc6-45eb-87ec-d3fd9e43d4cd@isocpp.org> <105e6e46-2830-4ac3-b2a9-17f402b35466@isocpp.org> <0560616f-101c-4428-99a2-fb80f22b1959@isocpp.org> <CANPtknz2pqFCidvJNFGOO89Ex0nFQguvtxmatAA0=Utfvp=U4Q@mail.gmail.com> <a826a8f8-e6cc-42ad-9378-6824e31a2ff3@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
Content-Type: multipart/alternative; boundary="Apple-Mail=_C2E800FD-A521-4CC8-A1FD-2982EFA9F530"
X-Trace: ger.gmane.org 1398912450 27161 80.91.229.3 (1 May 2014 02:47:30 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Thu, 1 May 2014 02:47:30 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCW25A7E3QCRBN7LQ2NQKGQEKQ2L4VI@isocpp.org Thu May 01 04:47:23 2014
Return-path: <std-proposals+bncBCW25A7E3QCRBN7LQ2NQKGQEKQ2L4VI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yh0-f69.google.com ([209.85.213.69])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCW25A7E3QCRBN7LQ2NQKGQEKQ2L4VI@isocpp.org>)
	id 1Wfh1t-0004lZ-CY
	for gclcip-std-proposals@m.gmane.org; Thu, 01 May 2014 04:47:21 +0200
Original-Received: by mail-yh0-f69.google.com with SMTP id b6sf9508745yha.8
        for <gclcip-std-proposals@m.gmane.org>; Wed, 30 Apr 2014 19:47:20 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:message-id:mime-version:subject:date
         :references:to:in-reply-to:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe:content-type;
        bh=LFQiqhFgEqfRBUKciIzJry06TfAoYrcQe7iJEUFpowM=;
        b=IJKCS7ItrZ/pOVaePFbPJKtm1Q66umnTxngtQiGxmXFKPAiWXZmH9xJgZI3WnfCHoi
         ei45/Ljq6frJXSla7NIvBEAkZRG4IP8otyQxue3sjQtQB6ANd8TxKnAzttLg8eQaDDgF
         LYrIcw/BnE+w1fuf+plVZJI5+4pGo5fwm3ZS9lkpawzf3v9U3il1kaJSCi/Fw++5W4/D
         XRZfWPyK/bnFMGa90izhBst/NPGwu4WpYzA0UZTVdkl1+hG+pO6yaCHsRnF9z0HjuIE8
         zMXYtLYvTu7plR0nW8E1BUEC4myKdVogCDgtVo2GN4qF9Y93HJOza2Cmpt0ALrdUqtKw
         54nQ==
X-Gm-Message-State: ALoCoQmMn+wfO0JCmiGz2LkNECQVZgNdWVe+/4MoyhVvKAtvDjvMIbbJn+/5erik/r/e4grP4hGB
X-Received: by 10.236.85.131 with SMTP id u3mr3644867yhe.40.1398912440341;
        Wed, 30 Apr 2014 19:47:20 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.50.152.67 with SMTP id uw3ls912512igb.38.gmail; Wed, 30 Apr
 2014 19:47:19 -0700 (PDT)
X-Received: by 10.50.25.201 with SMTP id e9mr208795igg.28.1398912439660;
        Wed, 30 Apr 2014 19:47:19 -0700 (PDT)
Original-Received: from mail-ie0-x22d.google.com (mail-ie0-x22d.google.com [2607:f8b0:4001:c03::22d])
        by mx.google.com with ESMTPS id p6si20605727icc.65.2014.04.30.19.47.19
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Wed, 30 Apr 2014 19:47:19 -0700 (PDT)
Received-SPF: pass (google.com: domain of potswa@gmail.com designates 2607:f8b0:4001:c03::22d as permitted sender) client-ip=2607:f8b0:4001:c03::22d;
Original-Received: by mail-ie0-f173.google.com with SMTP id rp18so3068150iec.4
        for <std-proposals@isocpp.org>; Wed, 30 Apr 2014 19:47:19 -0700 (PDT)
X-Received: by 10.50.66.169 with SMTP id g9mr86562igt.49.1398912439565;
        Wed, 30 Apr 2014 19:47:19 -0700 (PDT)
Original-Received: from [172.20.10.2] ([121.54.54.129])
        by mx.google.com with ESMTPSA id qh3sm3474117igb.17.2014.04.30.19.47.12
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Wed, 30 Apr 2014 19:47:18 -0700 (PDT)
In-Reply-To: <a826a8f8-e6cc-42ad-9378-6824e31a2ff3@isocpp.org>
X-Mailer: Apple Mail (2.1874)
X-Original-Sender: potswa@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of potswa@gmail.com designates 2607:f8b0:4001:c03::22d as permitted
 sender) smtp.mail=potswa@gmail.com;       dkim=pass header.i=@gmail.com;
       dmarc=pass (p=NONE dis=NONE) header.from=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>, <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: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:10460
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/10460>

--Apple-Mail=_C2E800FD-A521-4CC8-A1FD-2982EFA9F530
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=ISO-8859-1


On 2014-05-01, at 4:37 AM, gmisocpp@gmail.com wrote:

> Hi
>=20
> On Thursday, May 1, 2014 7:15:50 AM UTC+12, Peter Koch Larsen wrote:
> If you are not using the argument, I fail to see why you would want to=20
> look at it in the debugger.=20
>=20
> /Peter=20
>=20
> You're not using it currently, it doesn't mean you don't  intend to use i=
t later, you still want to verify that it has the right value should there =
come a time when you want to use it, right?

The debugger is likely to reuse the storage for something else, due to the =
variable having no lifetime, so it wouldn't be able to show the value for v=
ery long. Anyway, there's no reason to suppress warnings in unfinished code=
.. If you intend to use something in the near future, you wouldn't mark it [=
[unused]] because the warning serves as a useful reminder.

> You'd also like to make sure any documentation tools that use these names=
 have a name to work with, etc. etc. etc.

Such documentation is based on interface declarations, not implementation.

--=20

---=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.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposa=
ls/.

--Apple-Mail=_C2E800FD-A521-4CC8-A1FD-2982EFA9F530
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=ISO-8859-1

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html charset=
=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; -webkit-nbsp-=
mode: space; -webkit-line-break: after-white-space;"><br><div><div>On 2014&=
ndash;05&ndash;01, at 4:37 AM, <a href=3D"mailto:gmisocpp@gmail.com">gmisoc=
pp@gmail.com</a> wrote:</div><br class=3D"Apple-interchange-newline"><block=
quote type=3D"cite"><div dir=3D"ltr">Hi<br><br>On Thursday, May 1, 2014 7:1=
5:50 AM UTC+12, Peter Koch Larsen wrote:<blockquote class=3D"gmail_quote" s=
tyle=3D"margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rg=
b(204, 204, 204); border-left-width: 1px; border-left-style: solid;">If you=
 are not using the argument, I fail to see why you would want to
<br>look at it in the debugger.
<br>
<br>/Peter
<br></blockquote><div><br></div><div>You're not using it currently, it does=
n't mean you don't&nbsp; intend to use it later, you still want to verify t=
hat it has the right value should there come a time when you want to use it=
, right?</div></div></blockquote><div><br></div><div>The debugger is likely=
 to reuse the storage for something else, due to the variable having no lif=
etime, so it wouldn&rsquo;t be able to show the value for very long. Anyway=
, there&rsquo;s no reason to suppress warnings in unfinished code. If you i=
ntend to use something in the near future, you wouldn&rsquo;t mark it [[unu=
sed]] because the warning serves as a useful reminder.</div><br><blockquote=
 type=3D"cite"><div dir=3D"ltr"><div>You'd also like to make sure any docum=
entation tools that use these&nbsp;names have&nbsp;a name to work with, etc=
.. etc. etc.</div></div></blockquote><div><br></div>Such documentation is ba=
sed on interface declarations, not implementation.</div><div><br></div></bo=
dy></html>

<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 />

--Apple-Mail=_C2E800FD-A521-4CC8-A1FD-2982EFA9F530--

.
