列表7.为一个模板类所生成的代码。
模板类控制处理和JSP的本地化和启动。
The template class Controls the rendering, and the localization and the launch of the JSP.
如何专门为模板类成员函数的类型?
How to specialize for member function type in template class?
没有最小,只有更小,更小的模板类。
Not the smallest, only smaller and smaller template classes.
领域模型的一个模板类和实例类建模?
Domain model - modeling a template class and the instance class?
在UML配置文件中,流程被表示为模板类。
In the UML profile, a process is represented as a class with the stereotype.
在清单8中,仅当t有符号时,模板类a才能进行实例化。
In Listing 8, template class a may be instantiated only if type t is signed.
允许模板类或函数仅使用某些数据类型来进行实例化。
Allowing a template class or function to be instantiated with only certain data types.
对于类和模板类,标准库章节仅规定了它们的部分定义。
For classes and class templates, the library clauses specify partial definitions.
无法实例化基于局部类型或未命名类型的泛型或模板类。
You cannot instantiate a generic or template class based on a local or unnamed type.
将非专用化的模板类名用作基类列表中的模板参数是无效的。
It is invalid to use an unspecialized template class name as a template parameter in a base class list.
实现类的具体操作步骤没有被强迫去从一个抽象模板类中继承。
The class that implements the individual steps is not forced to inherit from an abstract template superclass.
如果您只是希望可以只分发编译后的模板类,那么编译过程可以实现自动化。
If you only wish to only distribute the compiled template class, the build process may be automated.
本模板类描述了一个对象,这个对象是类型为T的可变长度的序列元素。
The template class describes an object that controls a varying-length sequence of elements of type T .
最后提出了一种可以通过人工干预、完善故障模板类以避免错误诊断的方法。
At last, a method is brought forward, which can avoid the wrong diagnosis by artificially intervening to perfect the fault template libraries.
清单1中的模板类源代码是类的默认构造函数,第一个方法没有出现在其中。
The first method is one that doesn't even appear in the source code for my template class back in Listing 1, the default constructor for the class.
你可以通过运行,使这项工作,并明确自己在铸造模板类,但我不认为你需要。
You could probably make this work by running with that, and explicitly casting it yourself inside the template class, but I don't think you need to.
本课题建立了一个完善的数据结构的模板类库,这能使程序设计人员事半功倍。
The library gets twice the result with half the effort of programmer. In addition, the paper discusses the issues about the transition of data structures.
后来该项目中的一项后果是,实现的模板类并不能理想地适用于所有类型的通信技术。
A consequence that emerged later in the project was that the implemented template class was not ideally suited to all types of communication technology.
列表8.为一个采用DTYPENAME_TEMPLATES选项的模板类所生成的代码。
Listing 8. Generated Code for a template class with DTYPENAME_TEMPLATES option.
为模板类一所生成的代码具有在模板类声明内部用于操作的声明和定义,如列表7中所示。
The generated code for the template class one has both the declaration and definition for the operation op within the template class declaration, as shown in Listing 7.
C++的标准模板类库(STL)是一个非常好的想法,如果它支持其它语言,它会更加成功的。
The Standard Template Libraries (STL) for C++ that uses templates was a very good idea--it would have been more successful if it had support for the other languages.
近年来,低拷贝模板类生物物证受到广泛关注并在法医dna分析中占有了越来越重要的地位。
In recent years, Low Copy Number biological evidence plays an increasingly important position in forensic DNA analysis.
您设计的派生类必须有一个名为definition(可以不修改此名)的嵌套的模板类/结构。
The derived class that you design must have a nested template class/structure named definition (you may not change this name). The definition class has the following properties
grammar类是一个模板类,被其派生类DerivedT和上下文类ContextT参数化。
The grammar class is a template class that is parameterized by its derived class DerivedT and the context class ContextT. The declaration for the grammar class is as follows.
然后可以使用静态模板类expandannotated方法将类实例扩展为uri,如清单12所示。
Instances of the class can then be expanded into URIs using the static Template class expandAnnotated method as Listing 12 shows.
当要将某个模板类型参数用作基类列表中的模板参数时,必须显式地将该模板类型参数添加到模板类名中。
You must explicitly add the template type parameters to the template class name when using it as a template parameter in a base class list.
这也是为什么,比如,导出派生自STL模板类或者使用STL模板类对象作为数据成员是非常困难和令人生厌的。
That is why, for instance, it is very hard and tiresome to export classes that are derived from STL templates or to use STL templates as data members.
清除“特性化”复选框,以便向导使用OLEDB模板类而不是默认的OLE db使用者特性来创建使用者代码。
Clear the Attributed check box so that the wizard creates the consumer code using OLE DB Template classes instead of the default OLE DB consumer attributes.
清除“特性化”复选框,以便向导使用OLEDB模板类而不是默认的OLE db使用者特性来创建使用者代码。
Clear the Attributed check box so that the wizard creates the consumer code using OLE DB Template classes instead of the default OLE DB consumer attributes.
应用推荐