Let say I have:
struct Point {
int x, y;
}
and I want writeln(Point(3, 4)); to print "[3, 4]" instead of
"Point(3, 4)".
ciechowoj via Digitalmars-d-learn Mon, 15 Feb 2016 04:06:11 -0800
Let say I have:
struct Point {
int x, y;
}
and I want writeln(Point(3, 4)); to print "[3, 4]" instead of
"Point(3, 4)".