How can I implement the visitor patter with return type in C++

后端 未结 0 1026
无人共我
无人共我 2020-12-10 23:52

I want to implement the visitor pattern for one of my class without having to depend on the types that will implement the interface to visit them.

My solution was thi

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