.di files have implementation??

Nick Sabalausky a at a.a
Sat Oct 22 20:13:24 PDT 2011


"Andrej Mitrovic" <andrej.mitrovich at gmail.com> wrote in message 
news:mailman.331.1319338165.24802.digitalmars-d-learn at puremagic.com...
> It's because the function is small enough to be inlineable, you can't
> inline it if you've only got the prototype in the header file. So it's
> optimizations at play.

I hadn't expected that to happen without specifying -inline. But I guess 
this way makes sence since it lets the user app decide whether or not to 
inline.




More information about the Digitalmars-d-learn mailing list