enclosing class 中文意思是什麼
enclosing class
解釋
封閉類-
It is possible to let the " this " reference escape without the word " this " appearing in your program ; publishing a nonstatic inner class instance has the same effect, because an inner class holds a reference to its enclosing object s " this " reference
如果「 this 」這個詞不會出現在程序中,就可讓「 this 」引用轉義;發布一個非靜態內部類實例可以達到相同的效果,因為內部類持有對它包圍的對象的「 this 」引用的引用。 -
Visible only within the project for nested classes, within the enclosing class
僅在項目內可見(對于嵌套的類,在包含類內可見) -
An explicit specialization shall be declared in the namespace of which the template is a member, or, for member templates, in the namespace of which the enclosing class or enclosing class template is a member
一個顯式的特化應該聲明在它所在的名域中,對于成員模板來說,應該在聲明於它所嵌的類所在的名域中。
分享友人