4 ms·
`a b(c);` is always a declaration of function `b` in D. To construct `b` of type `a`, it is written instead: a b = a(c); // one way auto b = a(c);
by WalterBright 8y ago
`a b(c);` is always a declaration of function `b` in D. To construct `b` of type `a`, it is written instead:
a b = a(c); // one way
auto b = a(c); // preferred way