C++函数不能为virtual的场景

1.类函数不能同时被static和virtual修饰。

 

2.类的模板函数不能被virtual修饰

 

未完待续

posted @ 2015-03-22 15:38  郭晓倩  阅读(245)  评论(0编辑  收藏  举报