Liste des Groupes | Revenir à cl fortran |
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
Les messages affichés proviennent d'usenet.