Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| Path | csiph.com!usenet.pasdenom.info!news.albasani.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Keith Thompson <kst-u@mib.org> |
| Newsgroups | comp.std.c |
| Subject | Re: Description of "." operator |
| Date | Sun, 09 Dec 2012 20:02:07 -0800 |
| Organization | None to speak of |
| Lines | 35 |
| Message-ID | <lnvccamu68.fsf@nuthaus.mib.org> (permalink) |
| References | <lntxrxnufa.fsf@nuthaus.mib.org> <lnpq2ko04x.fsf@nuthaus.mib.org> <50C5202E.3060604@loria.fr> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Injection-Info | mx04.eternal-september.org; posting-host="5842a546a2d4559ed11e9ac4721da702"; logging-data="3954"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19c7odVfLpaoJp8b8aM0Y+4" |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
| Cancel-Lock | sha1:/keT136MLbDqs6n6mJ/PAYESFw4= sha1:+Qip0YzRzDn85difAjKdJqh1RMI= |
| Xref | csiph.com comp.std.c:1739 |
Show key headers only | View raw
Jens Gustedt <jens.gustedt@loria.fr> writes:
> Am 08.12.2012 19:43, schrieb Keith Thompson:
>> Keith Thompson <kst-u@mib.org> writes:
>>> N1570 6.5.2.3p3 says:
>>>
>>> A postfix expression followed by the . operator and an identifier
>>> designates a member of a structure or union object. The value
>>> is that of the named member, and is an lvalue if the first
>>> expression is an lvalue.
>>>
>>> Consider the use of the word "object" in the first sentence.
>>>
>>> ...
>>>
>>> Shouldn't the phrase "a member of a structure or union object" be "a
>>> member of a structure or union *value*"?
>>
>> Or, perhaps better, "a member of a structure or union *expression*".
>
> I'd go for:
>
> a member of an expression with structure or union type
I think both phrases mean the same thing, but I do like yours better.
> (In your example there would have been an object if your struct also
> would have included an array type)
Yes (as of C2011).
--
Keith Thompson (The_Other_Keith) kst-u@mib.org <http://www.ghoti.net/~kst>
Will write code for food.
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
Back to comp.std.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Description of "." operator Keith Thompson <kst-u@mib.org> - 2012-12-07 18:34 -0800
Re: Description of "." operator Keith Thompson <kst-u@mib.org> - 2012-12-08 10:43 -0800
Re: Description of "." operator Jens Gustedt <jens.gustedt@loria.fr> - 2012-12-10 00:35 +0100
Re: Description of "." operator Keith Thompson <kst-u@mib.org> - 2012-12-09 20:02 -0800
Re: Description of "." operator jgk@panix.com (Joe keane) - 2012-12-09 23:34 +0000
Re: Description of "." operator Keith Thompson <kst-u@mib.org> - 2012-12-09 20:00 -0800
Re: Description of "." operator Tim Rentsch <txr@alumni.caltech.edu> - 2012-12-20 23:32 -0800
Re: Description of "." operator Keith Thompson <kst-u@mib.org> - 2012-12-21 02:08 -0800
Re: Description of "." operator Eric Sosman <esosman@comcast-dot-net.invalid> - 2012-12-21 09:18 -0500
Re: Description of "." operator Tim Rentsch <txr@alumni.caltech.edu> - 2012-12-21 08:45 -0800
Re: Description of "." operator Tim Rentsch <txr@alumni.caltech.edu> - 2012-12-21 08:37 -0800
Re: Description of "." operator Shao Miller <sha0.miller@gmail.com> - 2013-01-06 01:23 -0500
Re: Description of "." operator Keith Thompson <kst-u@mib.org> - 2013-01-05 23:51 -0800
Re: Description of "." operator Shao Miller <sha0.miller@gmail.com> - 2013-01-06 13:49 -0500
Re: Description of "." operator Keith Thompson <kst-u@mib.org> - 2013-01-06 22:12 -0800
Re: Description of "." operator Shao Miller <sha0.miller@gmail.com> - 2013-01-17 23:19 -0500
Re: Description of "." operator Shao Miller <sha0.miller@gmail.com> - 2013-01-18 20:47 -0500
Re: Description of "." operator Keith Thompson <kst-u@mib.org> - 2013-01-18 20:14 -0800
Re: Description of "." operator jgk@panix.com (Joe keane) - 2013-01-20 20:07 +0000
Re: Description of "." operator Shao Miller <sha0.miller@gmail.com> - 2013-01-20 15:36 -0500
csiph-web