释义 |
weak reference 弱引用 A reference to a global symbol that requests the linker not to report an erroror to search the default library's global symbol table to resolve the reference if the definition is not in the modules explicitly supplied to the linker. Weak references are often used when creating object modules to identify those global symbols that may not be needed at run time. 对全局符号的一种引用,如果该全局符号的定义不在直接提供给连接程序的模块中,则它不要求 连接程序报告差错或查找约定程序库全局符号以消解引用。弱引用常被用于在建立目标模块时去标 识程序运行时或许并不需要的那些全局符号。 |