Boost logo

Boost Users :

Subject: Re: [Boost-users] Header only libraries, why not all?
From: OvermindDL1 (overminddl1_at_[hidden])
Date: 2010-02-02 10:38:14


> /* 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).


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net