mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
In C++20, the compiler will synthesize a version of the operator with its arguments reversed to ease commutativity. This reversed version is ambiguous with the hand-written operator when the argument is const but `this` isn't.
29 KiB
29 KiB