模板的实例化:
This means an implementation must keep two scope contexts:
1. The scope of the template declaration, which is fixed to the generic template class representation
2. The scope of the template instantiation, which is fixed to the representation of the particular instance
The compiler's resolution algorithm must determine which is the appropriate scope within which to search for the name.
解释了模板声明和实例化的作用域概念,说明编译器如何确定名称搜索的适当范围。
1万+

被折叠的 条评论
为什么被折叠?



