Why do some T.init evaluate to true while others to false?

ag0aep6g via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu May 26 08:41:10 PDT 2016


On 05/26/2016 05:28 PM, ArturG wrote:
> On Thursday, 26 May 2016 at 15:25:26 UTC, ag0aep6g wrote:
[...]
>> What does it matter?
>
> You would have to create special cases for them.

When? If you want to check if something is the .init value, compare 
against .init.


More information about the Digitalmars-d-learn mailing list