Other elements in the module are still eligible for type promotion.
模组中的其他项目仍可进行型别提升。
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.
如果命名空间中的成员与某个模块成员同名,则对该模块成员的类型提升将会失效。
应用推荐