为什么有些名称空间以"::“开头,比如::__interception::OverrideFunction()和::__interception::field (__interception是一个名称空间)。这有什么效果吗?我经常在宏中找到它们。
#define INTERCEPT_FUNCTION_DLLIMPORT(user_dll, provider_dll, func)       \
  ::__interception::OverrideImportedFunction(                            \
      user_dll, provider_dll, #func, (::__interception::uptr)WRAP(func), \
      (::__interception::uptr *)&REAL(func))发布于 2022-06-16 03:29:46
这意味着它们将从全局命名空间中删除,即使在本地有一个名称相同的名称空间。
https://stackoverflow.com/questions/72640094
复制相似问题