10 Sep
2002
10 Sep
'02
4:54 p.m.
Hi, The VC++ compiler (6.0 with SP 5) has problems with member function templates. We have encountered a couple of situations where a shared_ptr was created and an attempt was later made to assign a raw pointer to it. However, 1) The compiler fails to recognise that you can't assign a raw pointer to an existing shared pointer object 2) The compiler fails to generate any code whatsoever for the assignment 3) The compiler remains silent about its problems We realise that one way to help the compiler to recognise invalid statements is to undefine BOOST_MSVC6_MEMBER_TEMPLATES. We are now considering to enforce this undefine across our project. Does anyone know which boost features would become inaccessible? Regards, Jacob