Generic class in c++ what's the difference?

前端 未结 0 1402
无人共我
无人共我 2020-11-22 03:45

I\'m learning generic classes in C++ so to implement node I wrote:

template
class Node {
    T val;
    Node *l, *r;
};

But I

相关标签:
回答
  • 消灭零回复
提交回复
热议问题