Re: So what Standard are we working off?



Richard Heathfield <invalid@xxxxxxxxxxxxxxx> writes:
[...]
I have found that the best way to hide restrict is not to define it at all,
not to use it, not to even think about using it, except of course as a
perfectly normal identifier. As far as I'm concerned, it's in user
namespace, and the C standardeers have no business polluting that space.

If you mean they *had* no business polluting the user namespace, I can
see your point, but the fact is they've already done so, and that bell
can't be unrung. Realistically, it's best to avoid using "restrict"
as an identifier; there's always the possibility that, some day in the
distant future, someone will want to compile your code with a compiler
that doesn't have a C90 mode.

I wouldn't avoid "new" and "class" in C code; C++ is a different
language. But C99 is a new version of the same language, and it just
might catch on.

--
Keith Thompson (The_Other_Keith) kst-u@xxxxxxx <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
.