go top

全局名字空间

网络释义专业释义

  global namespace

在任何类,函数,名字空间之外的域属于全局域,也就是 全局名字空间global namespace ) ::member_name

基于88个网页-相关网页

  pollute the global namespace

名字空间机制 允许我们 封装名字 ,否则这些名字就有可能会污染影响全局名字空间pollute the global namespace),如:

基于20个网页-相关网页

短语

全局名字空间污染 global namespace pollution

或全局名字空间域 global namespace scope

  • global name space

·2,447,543篇论文数据,部分数据来源于NoteExpress

双语例句

  • 否则名字约束当前全局名字空间中的对象

    Otherwise: the name is bound to the object in the current global namespace.

    youdao

  • 函数之外局部作用引用全局作用域相同名字空间模块名字空间

    Outside functions the local scope references the same namespace as the global scope: the module's namespace.

    youdao

  • 如果名字全局的,那么就会当前工作空间删除,但是其他那些说明是全局变量的将会被留下

    If name is global, it is removed from the current workspace, but left accessible to any functions declaring it global.

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定