Compile-time optimization

H. S. Teoh hsteoh at quickfur.ath.cx
Tue Jul 23 13:01:03 PDT 2013


On Tue, Jul 23, 2013 at 12:58:11PM -0700, H. S. Teoh wrote:
[...]
> 	void main() {

Oops, forgot to include the definition of x and y in main():

	string x = "runtime1";
	string y = "runtime2";

> 		writeln(optimizedJoin!(x, "a", "bc", y, "de", "f"));
> 	}


T

-- 
People say I'm indecisive, but I'm not sure about that. -- YHL, CONLANG


More information about the Digitalmars-d mailing list