
2 Feb
2010
2 Feb
'10
3:38 p.m.
/* snip */
I would actually prefer the non-header-only libraries to still be completely header based, but have the cpp implementations in filename_impl.hpp instead. Still have cpp files, but they just include the _impl version of the header, therefor projects that want to use the library side can link to it, or they can build it internally just be linking the _impl versions. This is how I handle my libraries and it works very well. Do note, some things should generally always be external libraries (Boost.Python), except for rare circumstances (like Boost.Python when embedding Python in your app).