About string and int spliced together.

Kagamin spam at here.lot
Sat Jun 20 08:37:59 UTC 2020


Reduced std.uni
--- test3 ---
string test1()
{
	import test3a;
	import std.conv : to;
	uint a;
	//B.c();
	string s = to!string(a);
	B.c();
	return s;
}
int main(){ return 0; }
--- test3a ---
alias B = A!int;

template A(T)
{
     string c()
     {
         import std.format : format;
         return format("%s","");
     }
}
---


More information about the Digitalmars-d mailing list