typedef: what's it good for?

Pelle Månsson pelle.mansson at gmail.com
Wed Nov 11 04:32:25 PST 2009


Walter Bright wrote:
> When I originally worked out ideas for D, there were many requests from 
> the C and C++ community for a 'strong' typedef, and so I put one in D. I 
> didn't think about it too much, just assumed that it was a good idea.
> 
> Now I'm not so sure. Maybe it should be removed for D2.
> 
> Does anyone use typedef's?
> 
> What do you use them for?
> 
> Do you need them?
There are typedefs in D?



More information about the Digitalmars-d mailing list