import std.stdio;
void print(T)(T value) {
writefln("%s", value);
}
void main() {
print(42);
print(1.2);
print("test");
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266036.html
import std.stdio;
void print(T)(T value) {
writefln("%s", value);
}
void main() {
print(42);
print(1.2);
print("test");
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266036.html