Thank you!
Mike Parker
aldacron at gmail.com
Wed Sep 8 11:30:48 UTC 2021
On Wednesday, 8 September 2021 at 08:27:13 UTC, Tejas wrote:
> And what I'm saying is that the user _doesn't_ know that
> they're getting a temporary unless they're aware that `struct`s
> are value types. And in this particular case, `opAssign` isn't
> defined.
>
> So I personally think this warrants a warning at the very least.
>
Then the thing to do would be to open an issue in Bugzilla for an
enhancement request and see what comes of it:
https://issues.dlang.org/
More information about the Digitalmars-d
mailing list