Boost logo

Boost :

From: David Abrahams (abrahams_at_[hidden])
Date: 2000-10-19 10:28:01


If that is the only problem, then it is indeed not specific to member
templates at all. But please, can someone recall the /specific/ objection
which resulted in our not enabling member templates for smart_ptr.hpp with
MSVC?

----- Original Message -----
From: "Steven Youngs" <steve_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Thursday, October 19, 2000 10:49 AM
Subject: Re: [boost] shared_ptr hierarchy question

> From memory, MSVC decorates functions using their arguments and return
type.
> Hence if the member template function uses all of the template types in
its
> argument list and return type it is correctly decorated. Otherwise the
> decoration will not be unique which, as Dave alluded, causes incorrect
> linkage.
> There's a Microsoft KnowledgeBase article about this "BUG: Explicitly
> Specified Template Functions Not Overloaded Correctly"
>
> The example code they give uses non-member templated functions but I'm
> pretty sure from my own experimentation that the same applies to member
> template functions to
>


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