Re: So what Standard are we working off?
- From: Keith Thompson <kst-u@xxxxxxx>
- Date: Fri, 30 Jun 2006 15:44:10 GMT
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.
.
- Follow-Ups:
- Re: So what Standard are we working off?
- From: Richard Heathfield
- Re: So what Standard are we working off?
- References:
- So what Standard are we working off?
- From: Frederick Gotham
- Re: So what Standard are we working off?
- From: Keith Thompson
- Re: So what Standard are we working off?
- From: Frederick Gotham
- Re: So what Standard are we working off?
- From: Richard Heathfield
- Re: So what Standard are we working off?
- From: Mark F. Haigh
- Re: So what Standard are we working off?
- From: Richard Heathfield
- Re: So what Standard are we working off?
- From: Harald van Dijk
- Re: So what Standard are we working off?
- From: Richard Heathfield
- So what Standard are we working off?
- Prev by Date: Re: same name global variable multi-files
- Next by Date: Re: Order of execution
- Previous by thread: Re: So what Standard are we working off?
- Next by thread: Re: So what Standard are we working off?
- Index(es):