A do-nothing function like this is sometimes useful as a place holder during program development.
这种不执行任何操作的函数有时很有用,它可以在程序开发期间用以保留位置。
If nothing has changed — or, more likely, you have no tests for the function that has changed — you simply do not run anything!
如果没什么发生变更——或者,更可能的是,您没有对发生变更的功能进行测试——您只是不运行任何东西!
Notice that since there is nothing left to do in the function, the actual stack frame for the function is not needed either.
注意,由于在函数中不再做任何事情,那个函数的实际的栈结构也就不需要了。
应用推荐