import std.stdio;
import std.typecons;
void main() {
auto myTuple = tuple(1, "Tuts");
writeln(myTuple);
writeln(myTuple[0]);
writeln(myTuple[1]);
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266011.html
import std.stdio;
import std.typecons;
void main() {
auto myTuple = tuple(1, "Tuts");
writeln(myTuple);
writeln(myTuple[0]);
writeln(myTuple[1]);
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266011.html