Writing a recursive base class concept in C++

后端 未结 0 1693
小鲜肉
小鲜肉 2021-01-21 16:50

In C++, I want to restrict the template parameter T of class Foo to strictly be an inheritor of Foo. To do this, I write

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