C++ template contravariance without std::function

前端 未结 0 414
忘了有多久
忘了有多久 2020-12-05 18:22

Consider:

#include 
#include 

class Base {};
class Derived : public Base {};

template
class Effect
{
public:
          


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