method generation by name

BCS ao at pathlink.com
Mon Jul 23 16:44:49 PDT 2007


Reply to Robert,

> I think you might have to use your way until macros come along. What's
> so wrong with the alias way, though?
> 

mixin foo!(int, "hello", int);
mixin foo!(int, "world", int);

now their are two somthings. And that just feels wrong. This can be worked 
around but, that also has some issues.




More information about the Digitalmars-d-learn mailing list