Class template can be instantiated without members?
类模板可以被实例化没有成员吗?
You passed an invalid argument to a class template.
您将一个无效的引数传递至类别样板。
An unspecialized class template cannot be used as a template argument in a base class list.
不能将非专用化的类模板用作基类列表中的模板参数。
Can I create a partial template specialization of of a class template matching enumeration types?
我可以创建一个模板偏特化的类模板的匹配枚举类型?
See the COM class template for information on how to be explicit in 'the way the class is exposed.
有关如何以显式方式公开COM类'的信息,请参阅com类模板。
Hierarchy of class template is generated due to the combination of class template and inheritance.
由于类模板与继承的结合,产生了所谓的类模板的层次结构。
You passed a class template in the argument to a class template that does not take a template parameter.
您在实参中向不采用模板形参的类模板传递了一个类模板。
To read the paper, you should be familiar with c, familiar with the class template and template functions.
要阅读本文,你要熟悉C++,熟悉类模板和函数模板。
Functional and geometric information were encapsulated in an UML class template by function decomposition and structure mapping.
通过功能分解和结构映射,将功能信息和几何信息集成封装在一个类模板中。
Class diagrams and instruction in the template model contains information on how to use this model.
模板模型中的类图和指示包含了如何使用该模型的信息。
The other notable line in this test is the class definition, which points to the template class, rather than one that you might create.
这个测试中另一个值得注意的行是这个类定义,它指向这个模板的类,而不是您可能创建的模板。
If you only wish to only distribute the compiled template class, the build process may be automated.
如果您只是希望可以只分发编译后的模板类,那么编译过程可以实现自动化。
A consequence that emerged later in the project was that the implemented template class was not ideally suited to all types of communication technology.
后来该项目中的一项后果是,实现的模板类并不能理想地适用于所有类型的通信技术。
The following example is a template for creating a class with an arbitrary amount of properties.
下列实例是一个模板,用于创建拥有任意数量属性的类。
A modified class loader USES template files that look almost exactly like ordinary class files except for "holes" in the constant pool that are filled in at load time for each instantiation class.
修改的类装入器使用看上去几乎与普通类文件完全一样的模板文件,不同的是这个模板文件在常量池中有一些“洞”,在装入时为每个实例化类填充这些“洞”。
In Listing 8, template class a may be instantiated only if type t is signed.
在清单8中,仅当t有符号时,模板类a才能进行实例化。
Figure 6 shows the class diagram from the WS response template pattern.
图6显示了WS响应模板模式的类关系图。
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.
为模板类一所生成的代码具有在模板类声明内部用于操作的声明和定义,如列表7中所示。
The idea behind these tools is that you can use an existing class as the template for your run-time class generation.
这些工具背后的思路是:可以将现有的类用作生成运行时类的模板。
For styling you would be concerned with the values for the class attributes of the template.
就样式化而言,应该格外关注模板的类属性值。
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.
清单1中的模板类源代码是类的默认构造函数,第一个方法没有出现在其中。
Allowing a template class or function to be instantiated with only certain data types.
允许模板类或函数仅使用某些数据类型来进行实例化。
The template for class walks through the associations and sorts them using the position tag.
类模板遍历关联并使用position 标记对其排序。
Listing 7. Generated Code for a template class.
列表7.为一个模板类所生成的代码。
Implementing the widget-specific template and the widget class.
实现特定于小部件的模板和小部件类。
Figure 5. Creating a template parameter of type class.
图5.创建一个类类型的模板参数。
Listing 8. Generated Code for a template class with DTYPENAME_TEMPLATES option.
列表8.为一个采用DTYPENAME_TEMPLATES选项的模板类所生成的代码。
You can use the Visual Studio 2005 class library template to easily create an Excel Services managed-code UDF assembly.
我们可以通过套用VisualStudio 2005的类库模板来开始编写一个ExcelServices的托管代码型UDF组件。
But in fact, all that is necessary to implement this strategy is to use a modified class loader that constructs new instantiation classes from a "template" class file.
但实际上,实现该策略所需的全部就是使用一个修改的类装入器,它根据“模板(template)”类文件构造新的实例化类。
Instances of the class can then be expanded into URIs using the static Template class expandAnnotated method as Listing 12 shows.
然后可以使用静态模板类expandannotated方法将类实例扩展为uri,如清单12所示。
应用推荐