From: "David Abrahams" <[EMAIL PROTECTED]>
> Just the usual workaround here, I presume
>
> template<class D, class T> D * get_deleter(shared_ptr<T> const & p, D* =
0)
>                                                                     ^^^^^^
> {
>     return static_cast<D *>(p._internal_get_deleter(typeid(D)));
> }
>
> To allow usage which doesn't collide with class templates and prevent link
problems.

Ah, _that_ workaround. IIRC (been a while since I used MSVC 6) there will be
no link problems with get_deleter. 'D' is mentioned in the return type, and
the return type of the function _is_ included in the mangled name, although
the template parameters are not.

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to