I can't seem to find the right syntax to specialize this template :
template <class Object, class Var, class Invert, class Step = Var, unsigned int FIXED = IW_GEOM_POINT>
class TSin : public BasicTween<Object, Var> {...
I want to keep <Object>
as a template parameter but specialize all other parameters. I am trying it like this :
template <class Object>
class TSin<Object, CIwVec2, int, CIwVec2, IW_GEOM_POINT> {...
This gives errors.
Please can someone provide the right syntax to specialize the template and the syntax to instantiate the specialized version?