Liste des Groupes | Revenir à cl fortran |
Lawrence D'Oliveiro <ldo@nz.invalid> schrieb:Hi Thomas, I am sorry to cause you trouble. The unofficial language lawyers are amazing in going beyond the scope of the initial question.On Sat, 26 Oct 2024 21:38:38 -0000 (UTC), Thomas Koenig wrote:I've killfiled you in comp.arch, and I think it is a good time now
>Lawrence D'Oliveiro <ldo@nz.invalid> schrieb:>
>On Sat, 26 Oct 2024 11:51:42 -0000 (UTC), Thomas Koenig wrote:>
>The "parameter adjustment" above is explicitly listed as undefined>
behavior, in annex J2 of n2596.pdf (for example):
>
"Addition or subtraction of a pointer into, or just beyond, an array
object and an integer type produces a result that does not point into,
or just beyond, the same array object (6.5.6)."
Read it again: note the qualification “that does not point into, or
just beyond, the same array object”. So long as it *does* point “into,
or just beyond, the same array object”, it is fine.
What you are writing is equivalent to
You don’t understand what pointer arithmetic means, do you?
for comp.lang.fortran.
Les messages affichés proviennent d'usenet.