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


Groups > comp.lang.lisp > #33122

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

From Kaz Kylheku <847-115-0292@kylheku.com>
Newsgroups comp.lang.lisp
Subject TIL: C++17 sequences assignment the wrong way.
Date 2019-07-19 03:36 +0000
Organization Aioe.org NNTP Server
Message-ID <20190718203039.263@kylheku.com> (permalink)

Show all headers | View raw


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

Wow, what a jaw-droppingly moronic moment in computing history.

They had the right motivation to fix a flaw, at least in one small area,
and establish an order where there is chaos.

Then they drop the ball by making it backwards.

Back to comp.lang.lisp | Previous | Next — 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