...分配堆对象)的引用,或者如果存在需要一个以上这样的 object 的可能性时,绝不要返回一个 local static object(局部静态对象)的指针或引用。
基于18个网页-相关网页
non-local static object 非局部静态对象
local static object
局部静态对象
以上为机器翻译结果,长、整句建议使用 人工翻译 。
An application's roots include global and static object Pointers, local variables and reference object parameters on a thread's stack, and CPU registers.
应用程序的根包含全局对象指针、静态对象指针、线程堆栈中的局部变量和引用对象参数以及CPU寄存器。
youdao
应用推荐
模块上移
模块下移
不移动