And your function Pointers will become invalid.
和你的函数指针将会无效。
However they can be imitated by means of function Pointers.
然而,他们可以通过函数指针的方式模仿。
How do I use function Pointers to initialize an object inside a class?
我如何使用函数指针初始化类中的对象?
Function Pointers are simply Pointers to the label of the respective function.
函数指针是指向各自函数的标签的简单指针。
This means that they can act as both classes and function Pointers at the same time.
这意味着它们可以作为这两个类和函数指针的行为,在同一时间。
The first part of this is the setup: the creation of an array of function pointers.
第一部份是设置:建立一个函数指针数组。
Use of delegates instead of function Pointers for increased type safety and security.
使用委派,而非会增加型别安全和安全性顾虑的函式指标。
If ampersands aren't needed for function Pointers, why does boost: : bind require one?
如果不需要符号函数指针,为什么升压:绑定需要一个?
Unlike function Pointers however, delegates are object-oriented, type-safe, and secure.
但与函数指针不同的是,委托是面向对象的、类型安全的和保险的。
Functions and function Pointers can be used interchangeably, presumably for convenience.
函数和函数指针可以互换使用,大概是为了方便。
You could then load the library into your address space and call the methods using function Pointers.
然后,您可以将库装入到您的地址空间中并使用函数指针调用方法。
The unit tests that are created using the BOOST_TEST_CASE macros accept function pointers as their input arguments.
使用 BOOST_TEST_CASE宏创建的单元测试以函数指针作为输入参数。
For example, most languages that contain function Pointers can be used to credibly support functional programming.
例如,包含函数指针的多数语言都可用于可靠地支持函数编程。
Delegates are special types that encapsulate a method, similar to function Pointers found in other programming languages.
委托是封装方法的特殊类型,它类似于其它编程语言中的函数指针。
Other data types, such as function Pointers, arrays, and structures, require additional attributes to ensure proper data marshaling.
其他数据类型(如函数指针、数组和结构)需要一些附加特性以确保进行正确的数据封送处理。
As you can see, call hooking is really all about redirecting function Pointers, and at this point, you should have no trouble doing that.
可以看到,调用挂钩实际上是改变函数指针,这样看来,你完成它应该没什么困难。
Some of the most significant possible new features include exception handling, extension functions, function pointers, and/or lambda expressions.
一些最重要的新功能可能包括异常处理、扩展函数、函数指针和/或lambda表达式。
However they can be imitated by means of function Pointers. This is the approach taken for instance in the implementation of the X Window System.
然而,他们可以通过函数指针的方式模仿。这是采取例如在X窗口系统的实现方法。
This feature is richer than function Pointers because it allows the inner class instance to retain a reference to the environment in which it was created.
该特性比函数指针更强大,因为它允许内部类实例保持对创建它的环境的引用。
By extending the contract-based safety analysis mechanism, a method for checking the safety problems of function pointers is presented in this paper.
文中扩充了基于契约的安全检查机制,提出了一种针对函数指针的安全检查方法。
Method handles act as both function Pointers and as function combinators, allowing a built-in way to construct a call protocol flow from a caller to a callee.
方法句柄可以同时作为函数的pointer和combinator,允许用内置的方式建立一个从调用器到被调用者的调用协议。
On the first call into any of these functions, the pseudo client library populates a table of function Pointers that then point to the "real" (libc) implementations of these functions.
在第一次调用这些函数中的某个函数时,pseudo客户机库会填充一个包含函数指针的表,这些函数指针指向函数“真正的”(libc)实现。
It reorders where local variables are stored, and copies Pointers in function arguments, so that they're also before any arrays.
它对存储局部变量的位置进行重新排序,并复制函数参数中的指针,以便它们也在任何数组之前。
CSimpleBinaryTree provides a generic global compare function that compares two Pointers of type long.
CSimpleBinaryTree提供了一个通用的全局比较函数,它可以比较两个长整型的指针。
Just as iterators are a generalization of Pointers, function objects are a generalization of functions: a function object is anything that you can call using the ordinary function call syntax.
正像iterators是指针的一般化,函数对象是函数的一般化:一个函数对象是你可以使用普通函数调用语法。
There's a virtual table for each class, which contains a list of Pointers to the implementation of each member function.
有一个为每个类的虚表,其中包含每个成员的功能的实现的指针列表。
The cause of null pointers can be varied, but generally it means that either you haven't initialized an object, or you haven't checked the return value of a function.
由于空指针能够被改变,但通常它意味着你不能初始化一个对象或者你不能检查一个函数中的返回值。
Then the second table is scanned, only once, the function directs us to the proper slot in the hash table and from there you find the pointers to the matching rows.
然后,第二个表被扫描,只扫描一次,那个函数引导我们到哈希表中适合的位置,并且从那里,你找到匹配的行指针。
Then the second table is scanned, only once, the function directs us to the proper slot in the hash table and from there you find the pointers to the matching rows.
然后,第二个表被扫描,只扫描一次,那个函数引导我们到哈希表中适合的位置,并且从那里,你找到匹配的行指针。
应用推荐