
8 Nov
2007
8 Nov
'07
10:06 a.m.
On Nov 8, 2007 2:19 AM, Yingwei Zhang <ywz@powerset.com> wrote:
Hello -
I am migrating our code base from boost 1.33.1 to 1.34.1. Some changes in boost/functional is causing compilation issues. The hash.hpp in 1.33 does include std container header files. In 1.34.1, however, forward declaration is added as following:
If you need the container headers you should include them, not rely on a third party header including it. In fact in this case conatainer_fwd IMHO does exactly the right thing. It forwards declare std containers when he thinks it is safe to do so. If It can't it includes them. Forward declaring standard containers without including the headers is something that comes handy very often. HTH, -- gpd