define is essential
This commit is contained in:
@@ -108,6 +108,8 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//Remember to initiate this Definition by denifying it outside the class but inside the .h file
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
void (*linkedBinaryTree<T>::visit)(binaryTreeNode<T>*) = nullptr;
|
void (*linkedBinaryTree<T>::visit)(binaryTreeNode<T>*) = nullptr;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user