You can pass the compile, but there is no effect when runing. It is just that the compiler ignores such mixed line.
Bye the way, if you write an implement of a funciton(函数体) inside its class defination, the function is automatically an inline function. (you don't need to add 'inline' before it)
This post has been archived. It cannot be replied.