cannot create a pointer to a "template class object"
I have a doubly linked list template which has been instantiated by class "Student Record" in another class and works properly

I want to declare a pointer to my Doubly linked list's node.


I am trying

class something

{

private:

    DNode<student_record>* node_pointer;//Dnode is my Doubly Linked list's Node

}


syntax error : missing ';' before '<
missing type specifier - int assumed. Note: C++ does not support default-int
unexpected token(s) preceding ';'

Using visualstudio10
cannot create a pointer to a "template class object"
===

I have a doubly linked list template which has been instantiated by class "Student Record" in another class and works properly

I want to declare a pointer to my Doubly linked list's node.


I am trying

class something

{

private:

    DNode<student_record>* node_pointer;//Dnode is my Doubly Linked list's Node

}


syntax error : missing ';' before '<
missing type specifier - int assumed. Note: C++ does not support default-int
unexpected token(s) preceding ';'

Using visualstudio10