Object.toString, toHash, opCmp, opEquals
Quirin Schroll
qs.il.paperinik at gmail.com
Fri Jun 7 10:53:34 UTC 2024
On Thursday, 6 June 2024 at 17:30:07 UTC, claptrap wrote:
> On Thursday, 6 June 2024 at 09:57:29 UTC, Quirin Schroll wrote:
>> On Thursday, 6 June 2024 at 08:00:40 UTC, Ogi wrote:
>
>> ```d
>> void toString(scope void delegate(in char[]) xpure xnothrow
>> @xnogc sink) const scope xpure xnothrow @xnogc;
>> ```
>
> Is this serious? I mean it's not and inside joke about how
> ridiculous D function signatures are getting?
>
> The D world has gone mad.
The `x…` attributes are not valid D code; I made them up on the
spot. The DIP [*Argument dependent
attributes*](https://github.com/dlang/DIPs/pull/198) proposes
essentially that.
More information about the Digitalmars-d
mailing list