220 10454 <a826a8f8-e6cc-42ad-9378-6824e31a2ff3@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: gmisocpp@gmail.com
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Add compiler time attributes like c#
Date: Wed, 30 Apr 2014 13:37:49 -0700 (PDT)
Lines: 189
Approved: news@gmane.org
Message-ID: <a826a8f8-e6cc-42ad-9378-6824e31a2ff3@isocpp.org>
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>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_1353_12002955.1398890269483"
X-Trace: ger.gmane.org 1398890281 23007 80.91.229.3 (30 Apr 2014 20:38:01 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 30 Apr 2014 20:38:01 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCM3TRNUXUDBBHV6QWNQKGQEZTMVMTQ@isocpp.org Wed Apr 30 22:37:53 2014
Return-path: <std-proposals+bncBCM3TRNUXUDBBHV6QWNQKGQEZTMVMTQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ig0-f197.google.com ([209.85.213.197])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCM3TRNUXUDBBHV6QWNQKGQEZTMVMTQ@isocpp.org>)
	id 1WfbGK-0003fx-Dy
	for gclcip-std-proposals@m.gmane.org; Wed, 30 Apr 2014 22:37:52 +0200
Original-Received: by mail-ig0-f197.google.com with SMTP id hn18sf851038igb.0
        for <gclcip-std-proposals@m.gmane.org>; Wed, 30 Apr 2014 13:37:51 -0700 (PDT)
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
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe
         :content-type;
        bh=Zj2wnsFkXxniVQ6RXeTf3yWORb+m5mli7K3AZDc4CDo=;
        b=NP7PFOhJCsq+u6sXlcPHR/auyGOAzrRdAmpCNHcFHpuWaD2GcvnJ24YFlpp4Z1jNUs
         vDKbwZBIz93l1fOU73lUKGYyFP8yj67kVi1VFZDGtlcdaoyC+++tbwfwJDn6nwMX+9fi
         a1XV7MbrcP1VPOn2wwt48zw1NcBLVDKnRCpAucog/2HyC3L4QqINu8604T58miJ2aYP2
         Og/XC+VnC68KN9J6SwSiAULUEwhaFzgnoyS8lljR6gjxepWpSPaFXGUsA6vfVSD2ZXgn
         SVV5UGwu1X85yJIaO4QqftKFsSNomvocul6Hhgbo7e6HZWFMw+EXFvFCzUeif5WSzGos
         v49A==
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:x-original-sender:reply-to:precedence
         :mailing-list:list-id:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe:content-type;
        bh=Zj2wnsFkXxniVQ6RXeTf3yWORb+m5mli7K3AZDc4CDo=;
        b=bOTvJ8NN3Swb7+dZff6Ed0epJLznWMvD4MFGFTF3bFp/ozrPvUikfEC0W0+6CoV0j2
         x5nYITiF8JvAS1Nk4cKXiRF4IcU118dMfhSnIQV3p5TpYIasqWUcfIN5y4LYTNOlKiLD
         TnwKMgM0InWp9/c6o25E2MCSqEWEprhFSr+4SVgYj0a8+lc+Zx9IRQGqKPbH/cD+UgiN
         KYr/QSaOl8hWERQN8kW8oSMhbOpEGNpzPy7vJ7fw5cEwXARp0GHcfVklzHsSOYFhf2FL
         bdAQmnidMPLhER9hDny9AmRv0zisbF8Gnf6goH0XIJs7wYVrRa5lo7J6Xg5wnW/bmw4O
         h63A==
X-Gm-Message-State: ALoCoQnifxJwK9zzcls7HutCoc70n1o6+Yf8FGzAIgj7GRxNMN5I8LlzKzc1sOrHeG8f3m3i0flH
X-Received: by 10.42.185.1 with SMTP id cm1mr3363910icb.10.1398890271387;
        Wed, 30 Apr 2014 13:37:51 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.182.131.137 with SMTP id om9ls348204obb.29.gmail; Wed, 30 Apr
 2014 13:37:50 -0700 (PDT)
X-Received: by 10.182.236.225 with SMTP id ux1mr27738obc.37.1398890270365;
        Wed, 30 Apr 2014 13:37:50 -0700 (PDT)
In-Reply-To: <CANPtknz2pqFCidvJNFGOO89Ex0nFQguvtxmatAA0=Utfvp=U4Q@mail.gmail.com>
X-Original-Sender: gmisocpp@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:10454
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/10454>

------=_Part_1353_12002955.1398890269483
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi

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
>
> /Peter=20
>

You're not using it currently, it doesn't mean you don't  intend to use it=
=20
later, you still want to verify that it has the right value should there=20
come a time when you want to use it, right?

And you'd still like to name it, because it makes the code more readable,=
=20
right?

You'd also like to make sure any documentation tools that use these names=
=20
have a name to work with, etc. etc. etc.


> On Wed, Apr 30, 2014 at 5:31 PM,  <gmis...@gmail.com <javascript:>>=20
> wrote:=20
> > Hi=20
> >=20
> >=20
> > On Thursday, May 1, 2014 1:56:24 AM UTC+12, Jean-Marc Bourguet wrote:=
=20
> >>=20
> >> Le mercredi 30 avril 2014 14:59:51 UTC+2, gmis...@gmail.com a =C3=A9cr=
it :=20
> >>>=20
> >>> btw. anyone think we're ready to add things like [[unused_arg]] yet?=
=20
> >>>=20
> >> We don't need an attribute for that, we already can avoid giving a nam=
e=20
> to=20
> >> the argument.=20
> >=20
> >=20
> > Not naming an argument is really undesirable, it means amongst other=20
> things,=20
> > you can't as easily look at the value of the argument in some debuggers=
..=20
> > It's makes for poor documentation.=20
> >=20
> > I don't think we should accept the status quo on this.=20
> >>=20
> >>=20
> >> Yours,=20
> >>=20
> >> --=20
> >> Jean-Marc=20
> >=20
> > --=20
> >=20
> > ---=20
> > You received this message because you are subscribed to the Google=20
> Groups=20
> > "ISO C++ Standard - Future Proposals" group.=20
> > To unsubscribe from this group and stop receiving emails from it, send=
=20
> an=20
> > email to std-proposal...@isocpp.org <javascript:>.=20
> > To post to this group, send email to std-pr...@isocpp.org <javascript:>=
..=20
>
> > Visit this group at=20
> > http://groups.google.com/a/isocpp.org/group/std-proposals/.=20
>

--=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/.

------=_Part_1353_12002955.1398890269483
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi<br><br>On Thursday, May 1, 2014 7:15:50 AM UTC+12, Pete=
r Koch Larsen wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0px =
0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); bo=
rder-left-width: 1px; border-left-style: solid;">If you are not using the a=
rgument, 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><br></div><div>And you'd still like to name it, because =
it makes the code more readable, right?</div><div><br></div><div>You'd also=
 like to make sure any documentation tools that use these&nbsp;names have&n=
bsp;a name to work with, etc. etc. etc.</div><div><br></div><blockquote cla=
ss=3D"gmail_quote" style=3D"margin: 0px 0px 0px 0.8ex; padding-left: 1ex; b=
order-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-s=
tyle: solid;">
<br>On Wed, Apr 30, 2014 at 5:31 PM, &nbsp;&lt;<a onmousedown=3D"this.href=
=3D'javascript:';return true;" onclick=3D"this.href=3D'javascript:';return =
true;" href=3D"javascript:" target=3D"_blank" gdf-obfuscated-mailto=3D"rrpE=
Vzkvy6YJ">gmis...@gmail.com</a>&gt; wrote:
<br>&gt; Hi
<br>&gt;
<br>&gt;
<br>&gt; On Thursday, May 1, 2014 1:56:24 AM UTC+12, Jean-Marc Bourguet wro=
te:
<br>&gt;&gt;
<br>&gt;&gt; Le mercredi 30 avril 2014 14:59:51 UTC+2, <a>gmis...@gmail.com=
</a> a =C3=A9crit :
<br>&gt;&gt;&gt;
<br>&gt;&gt;&gt; btw. anyone think we're ready to add things like [[unused_=
arg]] yet?
<br>&gt;&gt;&gt;
<br>&gt;&gt; We don't need an attribute for that, we already can avoid givi=
ng a name to
<br>&gt;&gt; the argument.
<br>&gt;
<br>&gt;
<br>&gt; Not naming an argument is really undesirable, it means amongst oth=
er things,
<br>&gt; you can't as easily look at the value of the argument in some debu=
ggers.
<br>&gt; It's makes for poor documentation.
<br>&gt;
<br>&gt; I don't think we should accept the status quo on this.
<br>&gt;&gt;
<br>&gt;&gt;
<br>&gt;&gt; Yours,
<br>&gt;&gt;
<br>&gt;&gt; --
<br>&gt;&gt; Jean-Marc
<br>&gt;
<br>&gt; --
<br>&gt;
<br>&gt; ---
<br>&gt; You received this message because you are subscribed to the Google=
 Groups
<br>&gt; "ISO C++ Standard - Future Proposals" group.
<br>&gt; To unsubscribe from this group and stop receiving emails from it, =
send an
<br>&gt; email to <a onmousedown=3D"this.href=3D'javascript:';return true;"=
 onclick=3D"this.href=3D'javascript:';return true;" href=3D"javascript:" ta=
rget=3D"_blank" gdf-obfuscated-mailto=3D"rrpEVzkvy6YJ">std-proposal...@<wbr=
>isocpp.org</a>.
<br>&gt; To post to this group, send email to <a onmousedown=3D"this.href=
=3D'javascript:';return true;" onclick=3D"this.href=3D'javascript:';return =
true;" href=3D"javascript:" target=3D"_blank" gdf-obfuscated-mailto=3D"rrpE=
Vzkvy6YJ">std-pr...@isocpp.org</a>.
<br>&gt; Visit this group at
<br>&gt; <a onmousedown=3D"this.href=3D'http://groups.google.com/a/isocpp.o=
rg/group/std-proposals/';return true;" onclick=3D"this.href=3D'http://group=
s.google.com/a/isocpp.org/group/std-proposals/';return true;" href=3D"http:=
//groups.google.com/a/isocpp.org/group/std-proposals/" target=3D"_blank">ht=
tp://groups.google.com/a/<wbr>isocpp.org/group/std-<wbr>proposals/</a>.
<br></blockquote></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_1353_12002955.1398890269483--

.
