Is there a template way of storing and retrieving interfaces in a container?

后端 未结 0 1792
既然无缘
既然无缘 2020-11-30 14:03

If we want to implement the the command pattern in C++ we normally have something like this -

struct Command {
   virtual void execute() = 0; 
   virtual ~Com         


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