Topic: keywords for other purposes
Author: Ran Regev <regev.ran@gmail.com>
Date: Tue, 21 May 2013 23:35:04 -0700 (PDT)
Raw View
------=_Part_153_24693900.1369204504712
Content-Type: text/plain; charset=ISO-8859-1
Hello,
Can anyone point me to the discussion on "why not defining new keywords as
'real' keywords"?
For example, why can 'final' be used as a variable?
Surely it causes problems:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3539.html#1318
Ran.
--
---
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/?hl=en.
------=_Part_153_24693900.1369204504712
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<div>Hello,</div><div><br></div><div>Can anyone point me to the discussion =
on "why not defining new keywords as 'real' keywords"?</div><div><br></div>=
<div>For example, why can 'final' be used as a variable?</div><div>Surely i=
t causes problems:</div><div><a href=3D"http://www.open-std.org/jtc1/sc22/w=
g21/docs/papers/2013/n3539.html#1318" target=3D"_blank" style=3D"cursor: po=
inter;">http://www.open-std.org/jtc1/<wbr>sc22/wg21/docs/papers/2013/<wbr>n=
3539.html#1318</a></div><div><br></div><div><br></div><div>Ran.</div>
<p></p>
-- <br />
<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to std-proposals+unsubscribe@isocpp.org.<br />
To post to this group, send email to std-proposals@isocpp.org.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/?hl=3Den">http://groups.google.com/a/isocpp.org/group/std-pro=
posals/?hl=3Den</a>.<br />
<br />
<br />
------=_Part_153_24693900.1369204504712--
.
Author: Bb Hh <frankhb1989@gmail.com>
Date: Mon, 27 May 2013 05:56:02 +0800
Raw View
--047d7b342f0e1a6ead04dda6196a
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
http://herbsutter.com/2012/04/02/reader-qa-keywords-and-attributes/
It said:
The committee has now decided replace these attributes with keywords. The
two main options for keywords were:
- fully reserved words, which can break existing user code that uses the
words as variable or type names and so would mean we need to pick uglier
names; and
- contextual keywords as done in C++/CLI, which does not break existing
user code and so lets us pick the ideal nice names, but which would be t=
he
first contextual keywords in ISO C++ (and there=92s always resistance to
being the first).
2013/5/22 Ran Regev <regev.ran@gmail.com>
> Hello,
>
> Can anyone point me to the discussion on "why not defining new keywords a=
s
> 'real' keywords"?
>
> For example, why can 'final' be used as a variable?
> Surely it causes problems:
> http://www.open-std.org/jtc1/**sc22/wg21/docs/papers/2013/**
> n3539.html#1318<http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n=
3539.html#1318>
>
>
> Ran.
>
> --
>
> ---
> 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/?hl=3Den.
>
>
>
--=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/?hl=3Den.
--047d7b342f0e1a6ead04dda6196a
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div><br><span><a href=3D"http://herbsutter.com/2012/04/02=
/reader-qa-keywords-and-attributes/" class=3D"linkifyplus">http://herbsutte=
r.com/2012/04/02/reader-qa-keywords-and-attributes/</a></span><br></div><br=
>It said:<br>
<div><p>The committee has now decided replace these attributes with keyword=
s. The two main options for keywords were:</p>
<ul><li>fully reserved words, which can break existing user code that uses=
=20
the words as variable or type names and so would mean we need to pick=20
uglier names; and</li><li>contextual keywords as done in C++/CLI, which doe=
s not break=20
existing user code and so lets us pick the ideal nice names, but which=20
would be the first contextual keywords in ISO C++ (and there=92s always=20
resistance to being the first).</li></ul><br><br></div></div><div class=3D"=
gmail_extra"><br><br><div class=3D"gmail_quote">2013/5/22 Ran Regev <span d=
ir=3D"ltr"><<a href=3D"mailto:regev.ran@gmail.com" target=3D"_blank">reg=
ev.ran@gmail.com</a>></span><br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div>Hello,</div><div><br></div><div>Can any=
one point me to the discussion on "why not defining new keywords as &#=
39;real' keywords"?</div>
<div><br></div><div>For example, why can 'final' be used as a varia=
ble?</div><div>Surely it causes problems:</div><div><a href=3D"http://www.o=
pen-std.org/jtc1/sc22/wg21/docs/papers/2013/n3539.html#1318" target=3D"_bla=
nk">http://www.open-std.org/jtc1/<u></u>sc22/wg21/docs/papers/2013/<u></u>n=
3539.html#1318</a></div>
<span class=3D"HOEnZb"><font color=3D"#888888"><div><br></div><div><br></di=
v><div>Ran.</div>
<p></p>
-- <br>
=A0<br>
--- <br>
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals%2Bunsubscribe@isocpp.org" target=3D=
"_blank">std-proposals+unsubscribe@isocpp.org</a>.<br>
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org" target=3D"_blank">std-proposals@isocpp.org</a>.<br>
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/?hl=3Den" target=3D"_blank">http://groups.google.com/a/isocpp=
..org/group/std-proposals/?hl=3Den</a>.<br>
=A0<br>
=A0<br>
</font></span></blockquote></div><br></div>
<p></p>
-- <br />
<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to std-proposals+unsubscribe@isocpp.org.<br />
To post to this group, send email to std-proposals@isocpp.org.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/?hl=3Den">http://groups.google.com/a/isocpp.org/group/std-pro=
posals/?hl=3Den</a>.<br />
<br />
<br />
--047d7b342f0e1a6ead04dda6196a--
.