Variable references in strings (Was: Structs implementing interfaces

bearophile bearophileHUGS at lycos.com
Tue Feb 10 03:54:17 PST 2009


Ary Borenszweig:
> res ~= res ~= "\n\treturn cast(${iface})cast(void*)&_iface_${iface}_vtbl;";

Have you tried std.metastrings.Format!()? I use it quite often.

Bye,
bearophile



More information about the Digitalmars-d mailing list