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

bearophile bearophileHUGS at lycos.com
Wed Jun 2 15:26:03 PDT 2010


Simen kjaeraas:
> My code sidesteps that by including instantiation line and file,
> making each instantiation unique (as long as you don't do
> multiple typedefs on one line).

Cute :-)
We can also try to add/invent something similar to the CLisp gensym, that generates ever different symbols at compile-time (just a letter plus an ever increasing integer number suffices).

Bye,
bearophile


More information about the Digitalmars-d mailing list