Consequences. Defeat of type promotion of a partial definition can cause unexpected results and even compiler errors.
结果:部分定义的型别提升失败可能导致无法预期的结果,甚至产生编译器错误。
If the namespace already has a member with the same name as a module member, type promotion is defeated for that module member.
如果命名空间中的成员与某个模块成员同名,则对该模块成员的类型提升将会失效。
If type promotion is defeated for a module member and you do not fully qualify that member, you could inadvertently access a different programming element.
如果某个模块成员的类型提升失效,而您没有完全限定该成员,则无意中可能会访问另一个编程元素。
If type promotion is defeated for a module member and you do not fully qualify that member, you could inadvertently access a different programming element.
如果某个模块成员的类型提升失效,而您没有完全限定该成员,则无意中可能会访问另一个编程元素。
应用推荐