Why is mostNegative!T not of type T?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sun Oct 17 20:18:38 UTC 2021

On 10/17/21 4:00 PM, SealabJaster wrote:
> On Sunday, 17 October 2021 at 19:32:16 UTC, Andrei Alexandrescu wrote:
>> ...
> I don't really have anything to add other than "wat".
> I assume this was (successfully) reviewed as well before being put in, 
> unless it's an ancient relic of past times.
> It gives me the same vibes as `ElementType!string == dchar`

That's my handiwork. Autodecoding and the trainwreck that followed.

I'm really worried that on an idle Sunday morning just reading a couple 
of Phobos files with an eye for refactoring uncovers a variety of 
oddities and bugs.

More information about the Digitalmars-d mailing list