binary dot assignment

Walter Bright newshound2 at digitalmars.com
Sat Feb 15 21:52:30 UTC 2025


> I'm not sure `.=` (and other options?) occurs often enough for this to be worth it.

Yes. Need more information on how common this pattern is.

Note that the compiler doesn't evaluate the lvalue twice unless it has side effects.


More information about the dip.ideas mailing list