C++ Inheritance via dominance warning

前端 未结 1 1836
无人及你
无人及你 2020-12-13 12:39

I\'m trying to implement a rather large object that implements many interfaces. Some of these interfaces are pure virtual. I may have a problem in diamond inheritance. Visua

相关标签:
1条回答
  • 2020-12-13 13:32

    Everything is absolutely valid. A compiler is allowed to warn about valid code, no problem here. You can try silencing the warning with a using declaration. If this doesn't work (probably due to an MSVC bug), silence it with a pragma.

    0 讨论(0)
提交回复
热议问题