Boost logo

Boost Users :

From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2008-06-05 08:03:16


did you see the multi_index_container_fwd.hpp header (
This adds forward declarations for the multi-index container.

Then you can include multi-index definitions in the propper CPP files.

With Kind Regards,

On Thu, Jun 5, 2008 at 1:00 PM, gast128 <gast128_at_[hidden]> wrote:

> Dear all,
> just refactored a component in our (large) application with use of
> Boost.MultiIndex. However using a test application it seems that by only
> including the Boost.MultiIndex header in the header files, the build time
> is 7
> times (700%) slower than without that header file.
> Pulling Boost.MultiIndex to the cpp file is no option, because I need to
> export the iterator as well. Of course I can make a wrapper around the
> iterator as well (for the sole purpose to shield the inclusion of the
> Boost.MultiIndex header), but isn't this a little bit strange? Putting
> Boost.MultiIndex in the pch is also a no-op because, 1) every pch must be
> adjusted, 2) VC++ 7.1 chokes on that.
> It is not something Boost can do much about it, but it as least an
> irritating
> point to put it mildly. It greatly cost productive hours to wait for builds
> to
> finish.
> Something for the c++ committee? c# seems to have a superior build
> system...
> wkr,
> me
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at