Article View: comp.std.c++
Article #1033Assignment operators return lvalues -- why?
From: J. Stephen Adamczyk
Date: Mon, 22 Apr 1991 22:06
Date: Mon, 22 Apr 1991 22:06
14 lines
840 bytes
840 bytes
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)
Technical Details
Message-ID:
<950@edg1.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!edg1!jsaShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!edg1!jsa From: jsa@edg1.UUCP (J. Stephen Adamczyk) Newsgroups: comp.std.c++ Subject: Assignment operators return lvalues -- why? Message-ID: <950@edg1.UUCP> Date: 22 Apr 91 22:06:43 GMT Organization: Edison Design Group Inc., Upper Montclair, NJ Lines: 14