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

> -----Original Message-----
> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
> On Behalf Of DudeSan
> Sent: Thursday, June 19, 2003 3:27 PM
> To: [EMAIL PROTECTED]
> 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


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

Reply via email to