Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | James Kuyper <jameskuyper@verizon.net> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: "lvalue" |
| Date | 2014-12-03 15:29 -0500 |
| Organization | Self |
| Message-ID | <547F72A6.8030502@verizon.net> (permalink) |
| References | <lvalue-20141203103107@ram.dialup.fu-berlin.de> <m5nhhr$qda$1@dont-email.me> <m5nkqb$6qk$1@speranza.aioe.org> <m5nml1$gho$1@dont-email.me> |
On 12/03/2014 02:01 PM, buja wrote: > On 12/03/2014 07:29 PM, jacob navia wrote: >> Le 03/12/2014 18:34, buja a écrit : >>> "An object is a named region of storage; an lvalue is an expression >>> referring to an object." >> >> What a wonderful sentence. Simple, it explains everything. >> > > My point exactly. > I know that K&R is not the current standard, but its description is just > so much clearer than what the current standard has to say about this > subject. > And I am sure both K&R and the current standard intend to say exactly > the same thing. Those two statements cannot both be true. The current standard is intended to identify *p as an lvalue, even if p has a null or indeterminate value, in which case *p does NOT refer to an object. C90's wording agrees with K&R's, and neither one clearly identifies *p as an lvalue when p is null or indeterminate. Therefore, either the intent was not the same, or the old wording fails to clearly specify that intent. Which option do you favor?
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: "lvalue" buja <buja66@gmail.com> - 2014-12-03 18:34 +0100
Re: "lvalue" James Kuyper <jameskuyper@verizon.net> - 2014-12-03 13:03 -0500
Re: "lvalue" jacob navia <jacob@spamsink.net> - 2014-12-03 19:29 +0100
Re: "lvalue" buja <buja66@gmail.com> - 2014-12-03 20:01 +0100
Re: "lvalue" Keith Thompson <kst-u@mib.org> - 2014-12-03 12:18 -0800
Re: "lvalue" Geoff <geoff@invalid.invalid> - 2014-12-03 12:20 -0800
Re: "lvalue" James Kuyper <jameskuyper@verizon.net> - 2014-12-03 15:29 -0500
Re: "lvalue" James Kuyper <jameskuyper@verizon.net> - 2014-12-03 21:48 -0500
Re: "lvalue" Keith Thompson <kst-u@mib.org> - 2014-12-04 08:20 -0800
Re: "lvalue" James Kuyper <jameskuyper@verizon.net> - 2014-12-04 11:44 -0500
Re: "lvalue" Keith Thompson <kst-u@mib.org> - 2014-12-04 11:41 -0800
Re: "lvalue" James Kuyper <jameskuyper@verizon.net> - 2014-12-04 14:50 -0500
Re: "lvalue" Keith Thompson <kst-u@mib.org> - 2014-12-03 23:40 -0800
Re: "lvalue" Tim Rentsch <txr@alumni.caltech.edu> - 2014-12-05 09:16 -0800
csiph-web