How do I store a list of pointers to references in CPP when references can be of both parent and derived class?

后端 未结 0 1756
天涯浪人
天涯浪人 2021-01-06 08:55

This is a simplified version of my problem.

I have a class A that is derived by class B. I also have another class X with a

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