C++ template class specialization: why do common methods need to be re-implemented

后端 未结 5 784
心在旅途
心在旅途 2021-02-19 06:32

In the sample:

#include 

using namespace std;

class B
{
public:
    virtual void pvf() = 0;
};

template 
class D : public B
{
p         


        
5条回答
提交回复
热议问题