|
Boost : |
From: Jody Hagins (jody-boost-011304_at_[hidden])
Date: 2004-07-27 11:42:58
Most of boost is implemented in header files (as most is based on
templates). However, what are the guidelines for splitting code into
compilable units?
For example, if a library is not a template library, should the author
strive to implement it entirely in headers as inline functions, or
should it be implemented as part inline functions and part a compiled
library?
A fair amount of code uses the PIMPL pattern to reduce header
complexity, reduce interface and implementation exposure, and to reduce
compile times. However, this requires, in large part, separate compiled
libraries.
What is the Boost position in this regard?
Thanks!
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk