On Mon, 25 Aug 2014 21:07:06 +0000
ponce via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com> wrote:

> Is there a way to have cross-module inlining but with separate 
> compilation?
> Like with link-time generation in C++ compilers.
i think that turning your functions into templates should do the trick.
i.e. int myfunc (int  n) --> int myfunc() (int n).

but this is a hack, of course.

Attachment: signature.asc
Description: PGP signature

Reply via email to