在这里展示了首个无类函数对象。
The first class-ness of function objects is clearly demonstrated here. Listing 10 shows what happens when I try calling a garbage method on function blah
操纵列表的有两类函数:构造函数和选择函数。
Two types of functions manipulate lists: constructors and selectors.
您也可以在子类中重写规则函数,从子类中调用重写的父类函数。
You can also override regular functions in a subclass and call the overridden parent function from within the subclass.
CwMtx没有内置的随机数生成器,也没有用随机元素填充矩阵的类函数。
CwMtx has no built-in random number generator, and there is no class function that fills a matrix with random elements.
对N类函数的性质进行进一步的研究,得到一些可延托成N类函数的判别条件。
By further studying the property of the functions of class n, the authors obtain some conditions for discriminating the functions which can be extended inward into class n.
框架包括若干类函数,从简单应用程序或工具功能的打包到处理完整任务的复杂脚本。
Frameworks include several types of functions, from very simple wrappers around simple application or tool functions to very complex scripts that handle an integrated task.
注意:当索引表达式被用于关系表达式,或作为某个操作符类函数的参数时,查询优化器将考虑使用函数索引。
Note: the query optimizer considers using a functional index when the index expression is used in a relational expression or as an argument to one of the operator class functions.
推广了留数理论中的对数留数定理,给出了一般性的结论,从而解决了一类函数的留数计算问题。
The traditional logarithmic residue theorem is generalized, so a general conclusion is given to solve the calculating for residue.
如果基类成员与派生类成员接受的实参不同,就没有办法通过基类类型的引用或指针调用派生类函数。
If the base member took different arguments than the derived-class member, there would be no way to call the derived function from a reference or pointer to the base type.
谓词(我在之前的清单2中定义的is - factor方法—请注意一类函数的大量使用),返回匹配的数字。
Predicate (which is the is-factor method I defined earlier in Listing 2 - note the heavy use of first-class functions), returning the Numbers that match.
但是,它是免费的且它的发布受gnuLGPL许可证的保护,所以如果您愿意的话,您有创建这些(生成器和类函数)的自由。
But because it's free and released under the GNU LGPL license, you have the freedom to create these if you'd like.
例如,如果连接的是Oracle数据库,那么名为NVL的实用程序类函数返回nvl;如果连接的是DB2,那么返回COALESCE。
For example, a utility class function called NVL would return NVL if the database connection is with Oracle, and COALESCE if the DB connection is with DB2.
如果源代码文件中有名称空间声明,那么对类、函数和常量的所有引用都使用名称空间语义。
If a source file has a namespace declaration, then all references to classes, functions, and constants use the namespace semantics.
您可以给类、函数或常量选择任意的名称空间。
You can give a class, function, or constant any namespace you choose.
它可以定义类或函数,但不是必须的。
实例是将类对象作为函数调用而创建的。
Instances are created by calling the class object as a function.
这些库包含了一系列的类和函数,可以在编程中使用。
The C++ Standard Library specifies a set of classes and functions that facilitate common programming tasks.
当然,PHP要解决的冲突的名称并不是人名,而是类、函数和常量的名称。
Of course, the names on which PHP resolves collision are not the names of people but rather the names of classes, functions, and constants.
完整描述、显示类、函数和字段。
您可以在类、函数或命名空间范围中使用Boost静态断言;还可以与模板一起使用它们。
You can use Boost static assertions in a class, function, or namespace scope; you can also use them with templates.
如果已经编写了所需的代码或逻辑,那么您还可以从script库中引用其他类、函数和sub。
You can also reference other classes, functions, and subs from script libraries if the code or logic you require has already been written.
对于类成员函数,从__arg2开始。
Outline视图显示导入的库、类以及函数。
它对 Python 支持得比较好的是缩排、块缩进/取消缩进、类/函数浏览器(它隐藏于水平滚动条之后)。
It does have good Python awareness in indentation behavior, block indent/dedent, class/function browser (this hidden next to the horizontal scroll bar).
这个类的函数有这个属性。
一种好的开发实践是将尽量多的代码移入可重用的例程、函数、类或组件,而这些例程、函数、类或组件均能划分到库或框架中。
A good development practice is to move as much code as possible into reusable routines, functions, classes, or components, which can be grouped into libraries or frameworks.
如何定义具有数量可变的参数(每个参数的类型可能不同)的模板化类或函数?
How do you define a templated class or a function with a variable number of arguments, each with a potentially different type?
一个类称为函数选择器,另一个类称为数据绑定。
One class is called the function selector, and the other one is called data binding.
确认代码中的包名、类名以及类构造函数名都已改为与项目名一致。
Be sure to change the package, class, and constructor names in the Java code to match the project name.
可以仅仅直接使用相应类的构造函数,而不用通过工厂类。
You can just use a constructor for the appropriate class directly, without going through a factory class.
应用推荐