typedef: what's it good for?

Walter Bright newshound1 at digitalmars.com
Tue Nov 10 22:34:40 PST 2009


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?



More information about the Digitalmars-d mailing list