Trouble checking for null-ness
Bahman Movaqar via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Jul 25 20:10:34 PDT 2016
On 07/25/2016 05:47 PM, Adam D. Ruppe wrote:
> On Monday, 25 July 2016 at 13:09:22 UTC, Bahman Movaqar wrote:
>> From what I could gather, it's not possible to check for `null` at
>> runtime for reference based types. Am I right?
>
> No, it is only possible to check for null for reference based types. But
> map's result is not a reference based type.
Oh, I see now. Thanks.
--
Bahman
More information about the Digitalmars-d-learn
mailing list