
21 Jan
2005
21 Jan
'05
3:45 p.m.
The following simple snippet ICEs in MSVC 6.5: #include <boost/mpl/vector_c.hpp> #include <boost/mpl/assert.hpp> template<int N> struct foo:boost::mpl::vector_c<int,N> { }; Yet, this version (where assert.hpp is included first) compiles fine: #include <boost/mpl/assert.hpp> #include <boost/mpl/vector_c.hpp> template<int N> struct foo:boost::mpl::vector_c<int,N> { }; The situation is the same if I change vector_c for list_c. With plain vectors and lists, however, everytihng's fine. ????? Joaquín M López Muñoz Telefónica, Investigación y Desarrollo