From: David Abrahams (dave_at_[hidden])
Date: 2003-03-18 11:28:47
Thomas Witt <witt_at_[hidden]> writes:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> David Abrahams wrote:
> | Gottfried.Ganssauge_at_[hidden] writes:
> | I think we need to keep the argument for VC6 at least; the problem is
> | one that shows up at link time because VC6 seems to distinguish
> | function template instantiations only by the types of the arguments
> | and not the template parameters.
> FWIW, it's a problem with the name mangling. Parameters and return type
> show up in the mangled name, template arguments don't. As a result this
> applies to all compilers that have complete VC6 compatible name
> mangling. AFAICS intel5 is one of them.
That's right. Gottfried, it doesn't matter that you weren't able to
reproduce it in your tests; VC6 needs this workaround or the problem
will bite *somebody* eventually.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk