Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2000-10-19 09:22:16


> I'm going to assume now that you're using MSVC, which won't compile
the
> above. Trying to think of a workaround... um... I dunno! Anyone else
got
> some bright ideas?

Yes, BOOST_NO_MEMBER_TEMPLATES is defined for MSVC, but the compiler can
cope with the member templates in smart_ptr.hpp. The only caveat is that
the template must come _before_ the non-template.

I've attached a modified smart_ptr.hpp that passes your test.

--
Peter Dimov
Multi Media Ltd.



Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk