本文只讨论了由于 non-type template parameters(非类型模板参数)引起的膨胀,但是 type parameters(类型参数)也能导致膨胀。
基于1个网页-相关网页
non-type template parameters 非类型模板参数 ; 无类型模板参数 ; 因非类型模板参数
With the heightened awareness of data types in 2.0, incoming parameters might need to be cast into a particular type in order to be useful in the template.
利用2.0中对数据类型的敏感特性,传入参数可能需要转换成特定的类型以便在模板中使用。
The transformation also provides an option to generate the keyword in place of class for template parameters of type class.
该转换还提供了一个选项来为类类型的模板参数生成替换 class 的关键字。
You can define the type of component inside template, or you can create an instance variable for the component and use the component annotation to define the component type and parameters.
你可以在模板中定义组件类型,或者你可以使用组件标注去定义组件类型和参数为组件产生一个实例变量。
应用推荐