C++ O(1) lookup by derived type

前端 未结 0 498
长情又很酷
长情又很酷 2020-12-06 08:42

I have a vector of pointers to Base.

Invariant: only one of each derived type should be in that vector at any time.

I also want to be able to look

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