Dreaded template specialization errors, desperate for solution.

Dreaded template specialization errors, desperate for solution.

benjaminfreidlin's picture




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 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.