need clarification: will typedef, C struct initialization, etc.

bearophile bearophileHUGS at lycos.com
Thu Jun 3 09:49:24 PDT 2010


My suggestion is to just improve the built-in typedef, instead of trying to implement some hack in D.

Lionello Lunesu:
> Cool trick indeed, but why do we need a trick for something so basic!?

For that a gensym is better than the date/file pair. But a gensym() despite being a simple thing might require compiler support to be implemented.

Bye,
bearophile


More information about the Digitalmars-d mailing list