Indirect Iterator Adaptor, std::set and MSVC 6.5

The following produces an internal compiler crash in MSVC 6.5
#include <set>
#include

Joaquín Mª López Muñoz
The following produces an internal compiler crash in MSVC 6.5
#include <set> #include
int main() { typedef std::set
type0; typedef boost::indirect_iterator_generator< type0::iterator,const int>::type type1; type0 s; type1 it(s.begin());
return 0; }
This happens for std::set only, using say std::vector instead works fine. Is some workaround known? TIA
All I can suggest is that you try the new iterator adaptors library in the sandbox. It's much better behaved w.r.t. broken compiler bugs. -Dave -- Dave Abrahams Boost Consulting www.boost-consulting.com
participants (2)
-
David Abrahams
-
Joaquín Mª López Muñoz