I define a tree node
template<typename KeyType,typename ItemType> struct __Node__{ KeyType key; ItemType item; list<__Node__*> childs; }; I want to give the structure a pseudonym:
template<typename KeyType,typename ItemType> using Node = struct __Node__<KeyType, ItemType>; But it does not come out. How to use such a mechanism correctly so that something like this happens:
typedef struct __Node__<KeyType, ItemType> Node<KeyType, ItemType>; ?