[Issue 24024] cannot pass class this to ref class
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jul 5 19:47:38 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=24024
--- Comment #6 from FeepingCreature <default_357-line at yahoo.de> ---
I guess I'm just allergic to ref-passing variables that you cannot see declared
anywhere. In your example, C c1 is explicitly declared; in the original
example, it's implicitly declared by the method call. IMO, implicitly declared
variables should always be rvalues, but I guess that's a lost cause.
--
More information about the Digitalmars-d-bugs
mailing list