-
- 基本使用
- 改变访问性
- 函数重载
- 取代typedef
局部与全局using,具体操作与使用见下面案例:
#include#define isNs1 1 //#define isGlobal 2 using namespace std; void func() { cout<<"::func"<

局部与全局using,具体操作与使用见下面案例:
#include#define isNs1 1 //#define isGlobal 2 using namespace std; void func() { cout<<"::func"<