operator overloading outside the type
Steven Schveighoffer
schveiguy at gmail.com
Sat Mar 29 03:03:36 UTC 2025
On Thursday, 27 March 2025 at 07:11:06 UTC, Ogion wrote:
> On Wednesday, 26 March 2025 at 16:59:47 UTC, Steven
> Schveighoffer wrote:
>> I think we should enable this. It was identified pretty
>> recently in a stream of an influencer (see other messages in
>> this group), as something that is desirable.
>
> Maybe only for structs and classes and not for something like
> `int`.
Builtin types should not be changed. They are different.
I'd say the same thing for arrays and associative arrays.
-Steve
More information about the Digitalmars-d
mailing list