From: John Torjo (john.lists_at_[hidden])
Date: 2004-01-26 02:55:23
Hartmut Kaiser wrote:
> John Torjo wrote:
>>Again, I'm pretty frustrated that some libraries have source
>>need to be compiled separately (using bjam).
>>I was thinking that we could have a directory '/boost/impl', and each
>>library that has sourse files could have an .hpp file that
>>of its source files (that would normally need to be compiled
>>This way, any user, even not having bjam, can include the
>>of a library, as simple as:
>>// this is included in ONLY one source file
>>As a regular user, I'd rather have the above, than having to
>>use bjam to
>>build a library.
>>If people agree, I volunteer to create the /boost/impl
>>directory for all
>>the libraries that now need to be compiled separately,
>>somewhere this week.
> That's not always reasonable.
>>From the point of view of the Wave library (I file a review request
> shortly), certainly you _can_ include all of the library at once, but this
> would raise compilation times up to hours! That's why Wave contains several
> source files, which only purpose is to separate certain template
> instantiation into it's own translation unit. For the average user
> compilation time drops drastically this way.
I must have mis-explained something.
The user should include the implementation ONLY IN ONE TRANSLATION UNIT.
It's like compiling the source files separately.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk