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.
注意,由于在函数中不再做任何事情,那个函数的实际的栈结构也就不需要了。
If a file is selected, then run the custom function; otherwise, do nothing.
如果选择了文件,则运行定制函数;否则,不进行任何操作。
Once the function returns a value outside that range, either the value is passed to a different handler or the state machine exits after calling a do-nothing end-state handler.
一旦函数返回了超出范围的值,那么该值将传送到另一个处理程序,或者状态机在调用了一个什么也不做的终态处理程序后就退出。
Now you can define a simple function to do nothing more than tell you how many parameters it has and display them as shown in Listing 1.
现在,您可以定义一个简单函数,其用途只是告诉您它所拥有的参数数量并显示这些参数,如清单1所示。
It's totally legit to cull a function, get back a value, do nothing with it other than compare it to another value.
挑选一个函数是完全合法的,返回一个值,用它来做些事情而不是用它与其它的值比较。
The idea of God is an absolutely necessary psychological function of an irrational nature, which has nothing whatever to do with the question of God's existence.
上帝的理念长短感性天性的一种相对必要的心理性能,它与“上帝是否存在”这一问题绝不相关。
Depression is related to cognitive function but has nothing to do with most objective cognitive function.
抑郁情绪与主观认知功能相关,而与多数客观认知功能测验结果无关。
Depression is related to cognitive function but has nothing to do with most objective cognitive function.
抑郁情绪与主观认知功能相关,而与多数客观认知功能测验结果无关。
应用推荐