您要查找的是不是:
- Last but not least is the template parameter. 最后但同样重要的一点是模板参数。
- An explicit template argument lets us fix the type or value of one or more template parameters. 显式模板实参使我们能够固定一个或多个模板形参的类型或值。
- Template parameter names begin with an uppercase letter. 模板参数名字以一个大写字母开始。
- All metafunction's arguments must be types (i.e. only type template parameters are allowed). 所有的原操作的参数必须是类型。
- Redefinition of a class template or a member of a class template in which the template parameters are specified. 类模板或类模板的成员的重定义,其中指定了模板形参。
- The process of replacing template parameters by concrete types is called instantiation. 模板的实例化意思仅仅是把模板参数代替成实际的类型。
- Analogously, template parameters represent types or values we can use in the definition of a class or function. 同样,模板形参表示可以在类或函数的定义中使用的类型或值。
- Having deduced the actual template arguments, it generates and compiles a version of the function using those arguments in place of the corresponding template parameters. 推导出实际模板实参后,编译器使用实参代替相应的模板形参产生编译该版本的函数。
- The first template parameter is the type of object to allocate/deallocate. 第一个模板参数是要分配/释放的对象类型。
- 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. 当要将某个模板类型参数用作基类列表中的模板参数时,必须显式地将该模板类型参数添加到模板类名中。
- When we use a function template, the compiler infers what template argument(s) to bind to the template parameter(s). 使用函数模板时,编译器会推断哪个(或哪些)模板实参绑定到模板形参。
- The template parameter is the type of object to allocate/deallocate. It must have a non-throwing destructor. 该模板参数是要分配/释放的对象的类型。必须带有无抛出的析构函数。
- Option specifiers themselves are verbose and without variadic templates, several default template parameters are assigned for non-specified options. 选项规格说明本身是冗长的且无变长模板的,对于未指定的选项要赋予缺省的模板参数。
- In a template parameter list, these keywords have the same meaning: They indicate that the name that follows represents a type. 在模板形参表中,这两个关键字具有相同的含义,都指出后面所接的名字表示一个类型。
- The only meaning we can ascribe to a template parameter is to distinguish whether the parameter is a type parameter or a nontype parameter. 可以给模板形参赋予的唯一含义是区别形参是类型形参还是非类型形参。
- If templates are involved, you need to manually (explicitly) instantiate these templates with the correct template parameters inside a separate compilation unit. 如果涉及到模板,你就需要手工(显式)地在各个编译单元中以正确的模板参数实例化这些模板。
- When the address of a function-template instantiation is taken, the context must be such that it allows a unique type or value to be determined for each template parameter. 获取函数模板实例化的地址的时候,上下文必须是这样的:它允许为每个模板形参确定唯一的类型或值。
- 6. Non-type template parameters of integral or enumerator type. 整型或枚举类型的非类型模板参数.
- Line numbers or template parameter 行号或模板参数
- We have to work within the parameters of time and budget. 我们工作受时间和财力所限。