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


Groups > comp.lang.lisp > #33126

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

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

Show all headers | View raw


On 2019-07-19, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>> 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?

8.5.18 ¶1 in the draft:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/n4713.pdf

By the way, I caught myself almost switching to a web browser to search
for the paragraph "pilcrow" symbol. Instead of that, I switched to
Japanese IME in Ubuntu and tried my luck with ぱらぐらふ
(pa-ra-gu-ra-fu). Sure enough, one of the completions/substitutions
offered was ¶. :)

Japanese IME: it's darn useful, not just for Japanese!

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