When to put C++ function in header file
- by John Smith
I've been looking at Boost and various other C++ libraries. The vast majority of Boost is implemented in header files.
My question is: under what conditions do you do a head only implementation (like Boost) or also include a .cpp file?