... function call operator (即operator ()) 函数调用操作符 function call 函式呼叫 function call 函数得 ...
基于134个网页-相关网页
当你调用一个函数,实际上发生的是函数得到了自己的内存块,它的大小与它期望的数据类型相同。
When you call a function, what actually happens is that function gets its own chunk of memory that's identical in size to the data type that it expects.
这些函数得名于它们所适用的结构。
The functions are named from the structures to which they apply.
因此出现了闭包并使lambda函数得到增强。
This is where closures step in and take the lambda functions to the next level.
But odds are it's not sufficient just to get it from the user, I, the human need to be handed whatever this function got from the user in some form.
如果只是从用户,我这里获取,好像有点不太准确,我们得交出,该函数从用户那里得到的一切信息。
to do sqrt, or square root-- no, I'm going to square root use sqrt, that's the name I'm using here-- square root a hundred different places in some piece of code. Without function, I'd have to copy that piece of code everywhere.
让我做一下准备,想象一下我要调用sqrt或者-,不,我会调用sqrt函数,这是我在这里用的名字,我得把这段代码到处复制。
It's very clear I've got to start with a function that looks like t^.
显然,我得从一个类似与t^的函数开始
应用推荐