Boost logo

Boost :

From: Michael Walter (cm_at_[hidden])
Date: 2003-06-19 10:02:01


Visual C++ 6.0 doesn't support partial template specialization.

> -----Original Message-----
> From: boost-bounces_at_[hidden]
[mailto:boost-bounces_at_[hidden]]
> On Behalf Of DudeSan
> Sent: Thursday, June 19, 2003 3:27 PM
> To: boost_at_[hidden]
> Subject: [boost] A problem concerning msvc++ and
boost::spirit::phoenix
>
> While I was playing around with spirit yesterday, I stumbled on
> something nasty. I'm not sure if this is the right place to report
this
> but I'll post it here anyway :)
>
> I found a calculator example
>
(http://www.oreillynet.com/network/2003/05/06/examples/calculatorexample
> .html) which includes <boost/spirit/phoenix/tuples.hpp> (not directly
> but via boost/spirit/phoenix/binders.hpp).
>
> Here I found the first occurrence; it seems that the Visual C++ 6.0
> compiler doesn't see the difference between
>
> template <typename T>
> struct access {
>
> typedef const T& ctype;
> typedef T& type;
> };
>
> and
>
> template <typename T>
> struct access<T&> {
>
> typedef T& ctype;
> typedef T& type;
> };
>
> It reports "template class has already been defined as a non-template
> class", so it seems that 'template <typename T> struct access' isn't
> being recognized as a template class.
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost


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