import std.stdio;
import std.typetuple;
alias TypeTuple!(int, long) TL;
void method1(TL tl) {
writeln(tl[0],"/t", tl[1] );
}
void main() {
method1(5, 6L);
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266029.html
import std.stdio;
import std.typetuple;
alias TypeTuple!(int, long) TL;
void method1(TL tl) {
writeln(tl[0],"/t", tl[1] );
}
void main() {
method1(5, 6L);
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266029.html