经常看到命名空间前就只有::

比如  ::test;这种代表是全局的test

比如  ::CreateDirectory(..),代表使用系统API也就是全局的

避免使用到局部定义的test命名空间或者函数

相关文章:

  • 2021-12-13
  • 2021-10-24
  • 2021-11-13
  • 2022-12-23
  • 2021-05-08
  • 2022-12-23
  • 2022-12-23
  • 2021-06-16
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-24
  • 2021-08-15
  • 2021-10-10
  • 2022-12-23
  • 2022-01-29
相关资源
相似解决方案