Is it possible to override the behavior of a type when used in a conditional expression?
pineapple via Digitalmars-d-learn Sat, 10 Sep 2016 07:34:09 -0700
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?
- Is it possible to override th... pineapple via Digitalmars-d-learn
- Re: Is it possible to ov... ag0aep6g via Digitalmars-d-learn
- Re: Is it possible t... pineapple via Digitalmars-d-learn
- Re: Is it possib... ag0aep6g via Digitalmars-d-learn
- Re: Is it possib... Jonathan M Davis via Digitalmars-d-learn
- Re: Is it possib... Steven Schveighoffer via Digitalmars-d-learn