[Issue 23353] Add opCallAssign and opCallOpAssign

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Sep 23 09:24:24 UTC 2022


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

RazvanN <razvan.nitu1305 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1305 at gmail.com

--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
Can you provide a case where this is useful and is not achievable by the
current semantics? If opCall returns the a struct by ref and you also define an
opAssign that should be achievable.

Usually, enhancement requests should be accompanied by a concrete use case
where the lack of feature impedes a specific implementation. Otherwise, it is
hard to make an argument for the addition of specific features.

--


More information about the Digitalmars-d-bugs mailing list