December 16, 2022 [Issue 13771] any language support capture acquire type? | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13771 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |razvan.nitu1305@gmail.com Resolution|--- |WONTFIX --- Comment #1 from RazvanN <razvan.nitu1305@gmail.com> --- No, D does not support such features because the return type is always deduced from the function body, not from the surrounding context (there are some exceptions with regards to lambda functions). This is a major change that does really bring too much benefit. -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply