• jormaig@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Quite an interesting read. When explained it seems obvious but this whole “weirdness” is introduced because there are two types of “noexcept”. The exception specifier and the exception checker. All because the committee doesn’t want to introduce new keywords (which I respect).

    • cmeerw@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      similar thing with requires requires { ...

      and you can nest it even further: requires requires { requires ...