The unit tests that are created using the BOOST_TEST_CASE macros accept function pointers as their input arguments.
使用 BOOST_TEST_CASE宏创建的单元测试以函数指针作为输入参数。
Some of the most significant possible new features include exception handling, extension functions, function pointers, and/or lambda expressions.
一些最重要的新功能可能包括异常处理、扩展函数、函数指针和/或lambda表达式。
The first part of this is the setup: the creation of an array of function pointers.
第一部份是设置:建立一个函数指针数组。
By extending the contract-based safety analysis mechanism, a method for checking the safety problems of function pointers is presented in this paper.
文中扩充了基于契约的安全检查机制,提出了一种针对函数指针的安全检查方法。
You could then load the library into your address space and call the methods using function Pointers.
然后,您可以将库装入到您的地址空间中并使用函数指针调用方法。
How do I use function Pointers to initialize an object inside a class?
我如何使用函数指针初始化类中的对象?
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.
其他数据类型(如函数指针、数组和结构)需要一些附加特性以确保进行正确的数据封送处理。
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.
该特性比函数指针更强大,因为它允许内部类实例保持对创建它的环境的引用。
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)实现。
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)实现。
应用推荐