I dun a DIP, possibly the best DIP ever

Walter Bright newshound2 at digitalmars.com
Fri Apr 24 08:15:53 UTC 2020


On 4/24/2020 12:39 AM, Manu wrote:
> It doesn't make much sense to think in terms of primitive types. As I just said 
> (but you truncated), operator overloads are almost certainly part of this equation.

Operator overloads don't change it.

> I think it's more common to do a fold like this with logical operators though; 
> `&&` appears 9 times out of 10 in my code.

     [ cast(bool)Tup ]


More information about the Digitalmars-d mailing list