Boost logo

Boost :

From: tamboril_at_[hidden]
Date: 2001-08-10 10:04:21


The change Jeremy made to iterator_adaptors.hpp for v1.40,
"VC++ workaround: the forward_iterator real ref check is not working", did not go far enough. When trying to use a transform_iterator_generator on an iterator_adaptor<> that is a forward_iterator_category, the MSVC compiler chokes (error C2057: expected constant expression) on the STATIC_CONSTANT expression, itself, before it even gets to the STATIC_ASSERT that is (correctly) ifdef'd out.

So I would like to see the whole thing (STATIC_CONSTANT and STATIC_ASSERT) bypassed for MSVC, which fixed it for me.

john harris
trading technologies


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk