R
Rupert harrison
How would i template the object of my class BSTree, which is defined
outside my class.
template <class xtype>
class BSTree
{
class TNode
{
TNode *right;
TNode *left;
public:
char *info;
friend class BSTree <xtpye>;
};
Tnode *root
};
static BSTree mark
(eg. static BSTree mark) so that it has access to my functions in main.?
outside my class.
template <class xtype>
class BSTree
{
class TNode
{
TNode *right;
TNode *left;
public:
char *info;
friend class BSTree <xtpye>;
};
Tnode *root
};
static BSTree mark
(eg. static BSTree mark) so that it has access to my functions in main.?