[Issue 14176] the code has a link problem.
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Feb 14 07:41:10 PST 2015
https://issues.dlang.org/show_bug.cgi?id=14176
--- Comment #4 from Kenji Hara <k.hara.pg at gmail.com> ---
(In reply to steven kladitis from comment #1)
> the code came the tuple page on this web site.
Note that, D supports separate compilation model. `int foo(int x, int y);` is a
function declaration without its definition (== function body code), similar
to:
// A C lib function declaration
extern(C) int printf(const char* fmt, ...);
So it's not a mistake in the example code is.
--
More information about the Digitalmars-d-bugs
mailing list