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
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: numnum, i have a question: Can i define virtual function as inline? Thanks

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论