[Issue 23957] Casting to derived extern(C++) class is unsafe

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jun 10 11:09:17 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=23957

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
@ntrel updated dlang/dlang.org pull request #3619 "[spec/function] Improve
`return` struct method attribute docs" fixing this issue:

- [spec/function] Document `return` parameters without `scope`

  Fixes Issue 23957 - Casting to derived extern(C++) class is unsafe.
  Part of Issue 17934 - [scope] scopeness entrypoint for unique/ref-counted
  missing.

  Add 'Struct Return Methods' subheading.

https://github.com/dlang/dlang.org/pull/3619

--


More information about the Digitalmars-d-bugs mailing list