Boost logo

Boost :

From: Douglas Gregor (doug.gregor_at_[hidden])
Date: 2007-05-18 10:12:30

On May 18, 2007, at 6:02 AM, Johan Torp wrote:

> Will boost signals and slots be moved to header files in the future?

I have no plans to do this. There is quite a bit of non-template
code, and it would be a shame to inline it all. Binaries would get
significantly bigger, I think.

> Isn't it a policy to keep libraries in header files, if possible, or
> is it up to the library authors?

No, this isn't a Boost policy. Many Boost libraries are entirely
template libraries, so all of their code goes into headers anyway.

> In, the
> possibility of adding a macro to boost/config.hpp, which basically
> would result in including .cpp-files from headers, is mentioned. Are
> there any plans of adding such a macro or is it a bad idea?

I think it's a bad idea, because of the binary size issue above. Is
there any particular reason why you'd like Signals to live entirely
in headers?

   - Doug

Boost list run by bdawes at, gregod at, cpdaniel at, john at