|
Boost : |
From: Doug Gregor (dgregor_at_[hidden])
Date: 2004-10-05 07:39:36
On Oct 5, 2004, at 6:42 AM, Alan Stokes wrote:
> But minimal.hpp includes the line
> #include <libs/test/src/execution_monitor.cpp>
> which fails to compile - because my include path doesn't have a
> directory
> with the boost libs directory in it. And nor should it.
>
> This is unfortunate, and arguably a violation of the header policy
> (libs as
> a sub-directory name is highly likely to clash with other libraries,
> unlike
> boost).
>
> Header files should not be including implementation files. This is
> especially the case with the minimal test facility, whose whole point
> is to
> be usable without requiring linking with implementation files.
> Changing to
> textual inclusion of implementation files is not a great improvement.
You are absolutely right. Gennadiy, are you going to fix this?
Doug
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk