I found this code in a book.
1.)What does that line mean? Is it a constructor for 'struct's'?Code:class Binary_Search_Tree{ struct Node; Node * _root; //blah //blah }; struct Binary_Search_Tree::Node{ Type _; Node* _left; Node* _right; Node(Type = Type(), Node* =0, Node* = 0); };
I've never heard of constructors for structs.
2.)More over throughout the whole program, I dont see any
Is it correct?Code:template<class Type>