Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LinkNode.h: In instantiation of ‘LinkNode<int>’:
- DList.h:36: instantiated from ‘void DList<T>::insertFront(T*) [with T = int]’
- main.cpp:13: instantiated from here
- LinkNode.h:16: error: template argument required for ‘struct DList’
- LinkNode.h: In member function ‘void DList<T>::insertFront(T*) [with T = int]’:
- main.cpp:13: instantiated from here
- LinkNode.h:14: error: ‘LinkNode<int>* LinkNode<int>::next’ is private
- DList.h:37: error: within this context
- LinkNode.h:14: error: ‘LinkNode<int>* LinkNode<int>::next’ is private
- DList.h:38: error: within this context
- LinkNode.h:14: error: ‘LinkNode<int>* LinkNode<int>::next’ is private
- DList.h:38: error: within this context
- LinkNode.h:14: error: ‘LinkNode<int>* LinkNode<int>::next’ is private
- DList.h:39: error: within this context
- LinkNode.h:15: error: ‘LinkNode<int>* LinkNode<int>::prev’ is private
- DList.h:39: error: within this context
- LinkNode.h:14: error: ‘LinkNode<int>* LinkNode<int>::next’ is private
- DList.h:41: error: within this context
- LinkNode.h:15: error: ‘LinkNode<int>* LinkNode<int>::prev’ is private
- DList.h:42: error: within this context
- LinkNode.h:15: error: ‘LinkNode<int>* LinkNode<int>::prev’ is private
- DList.h:43: error: within this context
- LinkNode.h: In member function ‘void DList<T>::printList() const [with T = int]’:
- main.cpp:16: instantiated from here
- LinkNode.h:14: error: ‘LinkNode<int>* LinkNode<int>::next’ is private
- DList.h:91: error: within this context
- LinkNode.h:14: error: ‘LinkNode<int>* LinkNode<int>::next’ is private
- DList.h:92: error: within this context
- LinkNode.h:16: error: ‘int* LinkNode<int>::value’ is private
- DList.h:93: error: within this context
- make: *** [program] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement