Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.lisp > #33125

Re: TIL: C++17 sequences assignment the wrong way.

From Stefan Monnier <monnier@iro.umontreal.ca>
Newsgroups comp.lang.lisp
Subject Re: TIL: C++17 sequences assignment the wrong way.
Date 2019-07-19 13:30 -0400
Organization A noiseless patient Spider
Message-ID <jwvr26m0wbl.fsf-monnier+comp.lang.lisp@gnu.org> (permalink)
References <20190718203039.263@kylheku.com>

Show all headers | View raw


> C++17 adds a sequence point to assignment.
> E1 = E2 requires E2 to be completely evaluated first, then E1.

Do you happen to have a reference to this part of the spec?
Even better would be to see the discussions that lead to this
entertaining choice.

Almost makes you pine for the good old days when the CL spec was
the go-to example of a bloated and complex language specification.


        Stefan

Back to comp.lang.lisp | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

TIL: C++17 sequences assignment the wrong way. Kaz Kylheku <847-115-0292@kylheku.com> - 2019-07-19 03:36 +0000
  Re: TIL: C++17 sequences assignment the wrong way. Barry Fishman <barry@ecubist.org> - 2019-07-19 10:14 -0400
    Re: TIL: C++17 sequences assignment the wrong way. Kaz Kylheku <847-115-0292@kylheku.com> - 2019-07-19 16:45 +0000
      Re: TIL: C++17 sequences assignment the wrong way. Barry Fishman <barry@ecubist.org> - 2019-07-19 15:55 -0400
  Re: TIL: C++17 sequences assignment the wrong way. Stefan Monnier <monnier@iro.umontreal.ca> - 2019-07-19 13:30 -0400
    Re: TIL: C++17 sequences assignment the wrong way. Kaz Kylheku <847-115-0292@kylheku.com> - 2019-07-19 18:44 +0000

csiph-web