Boost logo

Boost :

From: Edward Diener (eldiener_at_[hidden])
Date: 2008-07-11 17:15:43


Steven Watanabe wrote:
> AMDG
>
> Edward Diener wrote:
>> I think it is an error when an end-user uses a Boost library which may
>> need a separate DLL built, never uses a function/class which is
>> implemented in that separate DLL, and yet the Boost header files for
>> that library bring in autolinking. Is this considered an error in the
>> development of a Boost library ?
>
> This can't be made to work perfectly because it will always be based
> on what is #included rather than what is actually used.

Yes, but if all autolinking functionality was placed in separate header
file(s), and the end-user only #includes that header file which contains
the functionality he uses, then it does work.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk