pure virtual method called
30 Apr 2020
|
|
c++代码,程序偶尔有pure virtual method called打印
参考链接二有一个复现场景
找这种场景就可以了
真是惊奇,这种场景我以为编译器会抓到
ref
- https://stackoverflow.com/questions/10707286/how-to-resolve-pure-virtual-method-called
- https://devblogs.microsoft.com/oldnewthing/20131011-00/?p=2953