Boost logo

Boost Users :

From: Joaquín Mª López Muñoz (joaquin_at_[hidden])
Date: 2003-05-08 03:06:57


The following produces an internal compiler crash in MSVC 6.5

#include <set>
#include <boost/iterator_adaptors.hpp>

int main()
{
  typedef std::set<int *> 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

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net