template argument 中文意思是什麼
template argument
解釋
範本自變量-
An unspecialized class template cannot be used as a template argument in a base class list
不能將非專用化的類模板用作基類列表中的模板參數。 -
A compiler can deduce type and non - type arguments from a call, provided the function argument list uniquely identifies the set of template arguments
如果根據函數實參表能夠決定一組模板實參,那麼編譯器就能從一個調用中演繹出類型和非類型實參。 -
Template - id template argument deduction
模板引數推導 -
Template argument to create a new document based on a template other than normal. dot
參數,可以基於normal . dot之外的其他模板創建新文檔。 -
For example, i don ' t support ideas of direct language support for template argument constraints checking
比如我不支持對模板參數約束檢查提供直接語言支持的想法。 -
Conversely, a non type template argument is a constant within the template so that an attempt to change the value of a parameter is an error
相反的,一個非類型模板實參是模板里的常量,所以任何試圖修改它的行為都是錯誤的。
分享友人