Jump to content
  • Advertisement
Sign in to follow this  
gimp

Has partial Template Specialisation Arrived in VS2005?

This topic is 4862 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts


template <typename ResourceType, typename IOType> 

class CResourceManager : public Singleton<CResourceManager>

{

public:

The output from the compiler is as follows: c:\zzz\code\c++\game\source\common\resourcemanager.h(24) : error C3203: 'CResourceManager' : unspecialized class template can't be used as a template argument for template parameter 'T', expected a real type Is this no longer valid? If it is, it's a major shame as I used this technique to build all my in game resources from XML + factories. Is there an alternative I can use?

Share this post


Link to post
Share on other sites
Advertisement
Kind thanks, I've been out of coding for nearly 2 years looking after a baby \ rennovation. It's good to get back in to things. Thanks for the link I was looking for thiskind of information yesterday.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!