Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #67210
| Path | csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Keith Thompson <kst-u@mib.org> |
| Newsgroups | comp.lang.c++ |
| Subject | Re: TIL: C++17 sequences assignment the wrong way. |
| Date | Tue, 30 Jul 2019 13:08:51 -0700 |
| Organization | None to speak of |
| Lines | 32 |
| Message-ID | <ln7e7z4758.fsf@kst-u.example.com> (permalink) |
| References | <20190718203039.263@kylheku.com> <jwvr26m0wbl.fsf-monnier+comp.lang.lisp@gnu.org> <assignment-20190720132739@ram.dialup.fu-berlin.de> <86r2678uvc.fsf@mailhub.linuxsc.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Injection-Info | reader02.eternal-september.org; posting-host="869e6138cf700b4f4bb650c5beb612eb"; logging-data="12015"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/nOZbeFsQWWLAx3HATIV5u" |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
| Cancel-Lock | sha1:J+jhL2yLUFzhrq1rKmLFewyBMZ0= sha1:ceJdOJCITGD/0fiOhZWCycFnBB4= |
| Xref | csiph.com comp.lang.c++:67210 |
Show key headers only | View raw
Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
> ram@zedat.fu-berlin.de (Stefan Ram) writes:
>
>> Newsgroups: comp.lang.lisp,comp.lang.c++
>>
>> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>
>>> Do you happen to have a reference to this part of the spec?
>>
>> In the most recent draft, n4800, it's 7.6.18p1:
>>
>> The right operand is sequenced before the left operand.
>>
>> . The assignment stores the value of the right operand
>> into the object indicated by the left operand, so the
>> operations involved are:
>>
>> First, obtain the value of the right operand,
>> then, store this value into the left operand.
>>
>> Therefore some kind of right-to-left sequencing is part
>> of the semantics the assignment already always had, in
>> any language.
>
> This summary sentence is utter nonsense.
What does the phrase "This summary sentence" refer to?
--
Keith Thompson (The_Other_Keith) kst-u@mib.org <http://www.ghoti.net/~kst>
Will write code for food.
void Void(void) { Void(); } /* The recursive call of the void */
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: TIL: C++17 sequences assignment the wrong way. Tim Rentsch <tr.17687@z991.linuxsc.com> - 2019-07-30 07:22 -0700
Re: TIL: C++17 sequences assignment the wrong way. Keith Thompson <kst-u@mib.org> - 2019-07-30 13:08 -0700
Re: TIL: C++17 sequences assignment the wrong way. Tim Rentsch <tr.17687@z991.linuxsc.com> - 2019-08-09 10:36 -0700
csiph-web