Dreaded template specialization errors, desperate for solution.

Dreaded template specialization errors, desperate for solution.

I've also tried defining the macro like this instead, which also doesn't work:

Code:

#define SQUADD_DEFINE_CLASS_LOCATION_IN_REGISTRY(Class, Table, Index) 
template<> class pushclass< Class > : public push_class_from_registry< Class > {}; 
const char * push_class_from_registry< Class >::table = Table; 
const char * push_class_from_registry< Class >::name = Index;
1 条帖子 / 0 全新
如需更全面地了解编译器优化,请参阅优化注意事项