use of class template requires template arguement

This my first post.
This is the error C2955, it is in relation to how i defined my list in my template.

namespace met
{
template <class T>
class CStateMachine
{
public:
///Stuff

protected:
core::list stateStack; // state-stack, implemented as a list

core::array delQueue;
};//End of Class

} // namespace met
#endif

The template is then used by another Class which type definitions the list to AppSM_T, which is then used by the main loop. Intellisense shows all the functions within the CStateMachine class. Where is it being used is throwing the error, in relationship to list defintion (Btw array has same problem, but probably same thing.)

void CMainRun::performAction(gui::CGUIActionEvent& event)
{
CAppState *gState;//Works
AppSM_t *appSM;//Works
//returnValue = event.getCommandID();
switch(event.getCommandId())
{
case 101:
{
gState = new CMainScreen(appSM);//Working
appSM->push(gState); //Throws error
break;
}

default:
{
break;
}

}

}

Any advice would be must appreciated
Topic archived. No new replies allowed.