此处产生歧义的原因就在于C::iterator意义不明确,它依赖于模板参数,我们将其称为嵌套依赖名字(nested dependent name),为了消除歧义,C++规定,对于嵌套依赖名字,统统不解释为类型,除非显示声明。
基于24个网页-相关网页
nested dependent type name 嵌套依赖类型名 ; 内嵌依赖类型名
nested dependent name
嵌套依赖名称
以上为机器翻译结果,长、整句建议使用 人工翻译 。
应用推荐
模块上移
模块下移
不移动