Issue 1974 - What's your opinion?
Paul Backus
snarwin at gmail.com
Fri Oct 25 01:45:43 UTC 2019
On Friday, 25 October 2019 at 01:20:02 UTC, kinke wrote:
> Allowing rvalues for an explicit opOpAssign!"+" call is IMO
> fine, but not when using the operator, as that's just a leaking
> implementation detail.
Making explicit opOpAssign!"+" and += work *differently* from
each other seems like a really bad idea. Either they should both
work for rvalues, or neither should.
More information about the Digitalmars-d
mailing list