Why typedef's shouldn't have been removed :(

David Nadlinger see at klickverbot.at
Fri May 11 13:29:43 PDT 2012


On Friday, 11 May 2012 at 20:14:29 UTC, Andrej Mitrovic wrote:
> What were the use-cases for making it a type?

Passing it to templates, where the type has to be inferred to 
something at a point where it is not yet clear what the value 
will actually be assigned to – without a special type for null, 
its implicit conversion properties would be lost. There certainly 
is a bug report about this, in the 5xxx range if I remember 
correctly.

David


More information about the Digitalmars-d mailing list