C++函数或者命名空间前面加::
2024-10-07 20:28:04
经常看到命名空间前就只有::
比如 ::test;这种代表是全局的test
比如 ::CreateDirectory(..),代表使用系统API也就是全局的
避免使用到局部定义的test命名空间或者函数
最新文章
- Gnome_Terminal
- VC++ 工程添加 Unicode Debug和Unicode Release编译支持
- js中event.keyCode用法及keyCode对照表
- shell脚本编写笔记
- 初识Tower Defense Toolkit
- ipsec vpn私网数据大量掉包问题
- JWPlayer使用指南
- [android] 手机卫士黑名单功能(ListView结合SQLite增删改)
- WPF基础篇之资源文件路径
- 有序的Map集合--LinkedHashMap
- PIC单片机基础1
- module.exports 和 exports(转)
- zookeeper部署
- CF1091F New Year and the Mallard Expedition
- Gradle Build速度加快方法汇总
- string字符串js操作
- UNIX网络编程读书笔记:I/O模型(阻塞、非阻塞、I/O复用、信号驱动、异步)
- 自定义指令 格式化input数据为非负整数
- eclipse 配置jdk和maven
- “全栈2019”Java多线程第二十章:同步方法产生死锁的例子