|
Some compilers will troll through .cpp files looking for things to inline (Intel's compiler actually trolls through the binaries), but if you want maximum portablity, you will put in-linable code (and templates) in headers.
__________________
Free code: http://sol-biotech.com/code/.
It is not that old programmers are any smarter or code better, it is just that they have made the same stupid mistake so many times that it is second nature to fix it.
--Mitakeet
The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man.
--George Bernard Shaw
|