Topic: N2105 - existing keywords


Author: yechezkel@emailaccount.com (Yechezkel Mett)
Date: Tue, 19 Dec 2006 16:31:13 GMT
Raw View
Beman Dawes wrote:
> Changing the subject, note that n2105 is very much alive. See
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2105.html.

I note that one of the objections is that three of the proposed keywords
don't use underscores to separate words. I suspect the reason is that
they are keywords and not identifiers - the only current keywords with
underscores are the casts (which were deliberately made somewhat
unwieldy) and wchar_t (where it isn't used as a word separator). Compare
that to sizeof, typedef, typeid, typename and perhaps namespace where no
separator is used. The other cases brought for comparison are not
actually keywords but identifiers.

I think people consider keywords in a different class to identifiers,
and therefore no one felt an inconsistency. Of course, whether to
perpetuate that distinction is a different question.

Yechezkel Mett

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]