阅读背景:

对使用'typedef'声明的函数使用'override'

来源:互联网 

C++ 11 introduced the 'override' specifier for functions and I find it useful as it makes it explicit that a virtual function is being overridden. However, I can't seem to get it work for a function that has been declared using a typedef. C++ 11 introduced the 'override' specifier for




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: