I\'m learning generic classes in C++ so to implement node I wrote:
template class Node { T val; Node *l, *r; };
But I