Boost logo

Boost Users :

From: gast128 (gast128_at_[hidden])
Date: 2008-06-05 07:00:18

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

Something for the c++ committee? c# seems to have a superior build system...


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