Boost logo

Boost Users :

From: jacob_bondski (bondski_at_[hidden])
Date: 2002-09-10 11:54:49


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


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