
18 Aug
2006
18 Aug
'06
6:48 p.m.
On 8/18/06, Phillip Hellewell <sshock@gmail.com> wrote:
to this:
template<class Y> shared_ptr(shared_ptr<Y> const & r, typename enable_if<typename is_convertible<Y*, T*>::type, void*>::type = 0): px(r.px), pn(r.pn) // never throws { }
I forgot to mention, you have to include these two headers in shared_ptr.hpp. #include <boost/type_traits.hpp> #include <boost/utility/enable_if.hpp> (But you probably already figured that out). Phillip Hellewell