Is it possible to override the behavior of a type when used in a conditional expression?

pineapple via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Sep 10 07:10:57 PDT 2016


I've got a struct and it would be very convenient if I could 
specify what happens when I write `if(value)` - is this possible?


More information about the Digitalmars-d-learn mailing list