Oh, Sorry, killer, seems the problem is not compiler, it's because that you have everything in the one single file, of course it works

numnum (numnum)
. In-line functions are just like Macros, they have the file scope, so I think you will have problem is you implement the virtual function somewhere in a seperate cpp file. Lemme try it out when I have time

2001-6-22 -04:00

回到话题: numnum, i have a question: Can i define virtual function as inline? Thanks

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论