Can I override a method of a class template if it doesn't use the template parameter inside?

前端 未结 0 673
日久生厌
日久生厌 2020-12-22 05:17

I have the following code:

template 
class A {
public:
    virtual void func() {
        // Things that don\'t use T parameter.
    }
};

cl         


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