On 13/10/2010 1:34 AM, Stanislav Blinov wrote:
12.10.2010 17:52, Justin Johansson пишет:
Given that if a function should return something,
and that function may return null in, at least
reference type return scenarios, one would expect that
"null" has a type.

What is the type of "null" in the D typesystem?

- JJ


writeln(typeid(typeof(null))) yields void* :)


Are you suggesting that the type of "null" is
opaque or merely saying what the D compiler says
without an opinion?

- JJ

Reply via email to