Anonymous user
Arithmetic/Integer: Difference between revisions
m
TypeTuple -> AliasSeq
No edit summary |
m (TypeTuple -> AliasSeq) |
||
Line 762:
===Shorter Version===
Same output.
<lang d>import std.stdio, std.string, std.conv, std.
void main() {
Line 772:
writeln("a = ", a, ", b = ", b);
foreach (op;
mixin(`writeln("a ` ~ op ~ ` b = ", a` ~ op ~ `b);`);
}</lang>
|