Topic: Assignment operators return lvalues -- why?


Author: jsa@edg1.UUCP (J. Stephen Adamczyk)
Date: 22 Apr 91 22:06:43 GMT
Raw View
The ARM (5.1.7) says that the value of an assignment operator is
an lvalue.  That's different than ANSI C (3.3.16).  There must
be a reason for the difference; can anyone enlighten me?

Also (different topic) -- is the example right at the end of
12.4 of the ARM, i.e.,

  int *p;
  p->int::~int();

really thought to be legal?  Isn't the name to the left of "::"
required to be a class-name?

Steve Adamczyk (jsa@edg.com or uunet!edg1!jsa; 201-744-2620)