0

Why do some namespaces start with "::", such as ::__interception::OverrideFunction() and ::__interception::field (__interception is a namespace). Does this have any effect? I often find them in macros.

#define INTERCEPT_FUNCTION_DLLIMPORT(user_dll, provider_dll, func)       \
  ::__interception::OverrideImportedFunction(                            \
      user_dll, provider_dll, #func, (::__interception::uptr)WRAP(func), \
      (::__interception::uptr *)&REAL(func))
JaMiT
  • 14,422
  • 4
  • 15
  • 31
王一楠
  • 1
  • 1

1 Answers1

0

It means they are to be taken from the global namespace, even if locally there is one with the same name.

Aganju
  • 6,295
  • 1
  • 12
  • 23