每个函数模板都有一个关联的对象模板。
静态对象在函数模板有联系吗?
推导了函数模板的迭代器类型?
图6展示了在决定何时需要注册函数模板时所考虑的问题。
Figure 6 shows the issues to consider in determining when a function template needs to be registered.
有关更多信息,请参见函数模板的显式专用化。
For more information, see Explicit Specialization of Function Templates.
不允许在函数模板的显式专用化上使用默认参数。
Default arguments are not allowed on an explicit specialization of a function template.
方法和构造函数模板与字段模板类似,如清单4 所示。
The method and constructor templates are similar to the field template, as Listing 4 shows.
要阅读本文,你要熟悉C++,熟悉类模板和函数模板。
To read the paper, you should be familiar with c, familiar with the class template and template functions.
函数模板全特化后不再是一个模板,它成为了一个函数的实现;
The full specialization is no longer a template. It's a concrete function.
如果查询在谓词或选择列表中具有一个函数模板,那么该函数模板必须是物化查询表的一部分。
If a query has a function template in a predicate or a select list, the function template must be part of the materialized query table.
为了允许查询在联邦服务器上没有相应函数的数据源上引用那些函数,就需要函数模板。
It is required to allow queries to reference those functions on the data source that do not have corresponding functions on the federated server.
二分查找函数模板及测试程序,它能实现查找方式中的二分查找,党查找失败时返回- 1 !
Binary search function template and test procedures, it can find ways to implement binary search, the party returns-1 lookup failed!
当一个查询引用一个函数模板时,查询优化器尝试生成一个灵活的计划,允许在远程数据源上计算这个函数引用。
When a query references a function template, the query optimizer tries to generate a feasible plan that allows this function reference to be evaluated on the remote data source.
MQT中不包含函数模板会导致在运行查询并选择MQT来满足查询时出现“statementnot supported ”错误。
Not including the function template in the MQT may lead to a "statement not supported" error when the query is run and the MQT is chosen to satisfy the query.
在使用函数模板时,如果你定义了多个重载的特例化函数,可能导致模糊不清的调用,所以这时编译器会从中选择最特例的那个函数定义来调用。
A function template specialization might be ambiguous because template argument deduction might associate the specialization with more than one of the overloaded definitions .
如果存在特定于某个数据源的、在WebSphereInformation Integrator上没有的特殊函数,则需要那个函数的函数模板定义。
If there is some special function specific to a data source and not available on WebSphere Information Integrator, you need a function template definition for that function.
如果存在特定于某个数据源的、在WebSphereInformation Integrator上没有的特殊函数,则需要那个函数的函数模板定义。
If there is some special function specific to a data source and not available on WebSphere Information Integrator, you need a function template definition for that function.
应用推荐