Liste des Groupes | Revenir à cl c |
Kaz Kylheku <643-408-1753@kylheku.com> writes:I said this:
On 2024-08-29, Ben Bacarisse <ben@bsb.me.uk> wrote:...Your intervention derailed the discussion into one of syntax. Bart thenDo you think (or claim) that what is /required/ on each side of an>
assignment in C is exactly the same thing? The expression on the LHS is
required to be a modifiable lvalue expression. That does not apply to
the expression on right hand side.
"modifiable lvalue" is a semantic attribute which depends on type
and qualification. An array is an lvalue, but not modifiable.
A const-qualified expression is also not a modififiable lvalue.
>
Bart is insisting that these attributes are not a matter of syntax.
simply stopped talking about his original claim. Way back I pointed
out that:
|| What is needed on the two sides is not the same.
And he replied
| I would argue that it is exactly the same.
He did, later, say that is was "exactly the same" except for the
differences but then went back to "I do mean exactly the same".
Les messages affichés proviennent d'usenet.