Skip to main content
gamedev.net
🔒 Locked

Partial Template Specialisation

Started by moagstar 3 replies 1.2k views
Original Post
moagstar
moagstar
I'm trying to have some fun with templates, but it seems that MSVC++ 6.0 doesn't want to play nice with me, whenever I try to partially specialise a template class I get an error. Microsofts Support Page (http://support.microsoft.com/kb/q240866) was particularly unhelpful in explaining how to overcome the problem...Do I really have to upgrade to VC 7.0? Is it even supported in the newer versions of visual studio?
snk_kid
snk_kid
Quote:
Original post by moagstar
whenever I try to partially specialise a template class I get an error.


Yes and i'm not surprised because VC++ 6.0 doesn't support partial template specializations, basically VC++ 6.0 is messed up, it has really bad template support, its very non-standard compliant, its STL implementation is hack job & basically broken. Even microsoft themselfs says its bad and suggest to not use it any more.

All in all its time for you to move on skip past 7.0 and get 7.1 or above, VC++ 7.1 compiler is free to download (no IDE) and you can also get vc++2k5 express beta for free (with IDE).
moagstar
moagstar
Is it possible to get the 7.1 compiler to plug into my VC6.0 IDE?
snk_kid
snk_kid
Quote:
Original post by moagstar
Is it possible to get the 7.1 compiler to plug into my VC6.0 IDE?


I don't see why not and i bet alot of people have (maybe some-one will comment on how-to), this link should be more useful to you.
moagstar
moagstar
Brilliant, thanks a lot!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.