typedef in D2

Trass3r un at known.com
Thu Apr 22 10:42:58 PDT 2010


Am 22.04.2010, 02:17 Uhr, schrieb bearophile <bearophileHUGS at lycos.com>:

> In that thread people have said they find typedef useless, but I keep  
> finding it useful even in partially OOP code too.
>

Yeah me too.
I use them in dsfml to ensure that pointers to structs passed to C  
functions are indeed correct and not some other pointers.

And I think it has some use in LuaD as well representing the Lua 'nil'  
value.



More information about the Digitalmars-d mailing list