c++/oop 类型别名/typedef/using
typedef
typedef unsigned int uint;
等价于
using uint = unsigned int;
数组
typedef int suzu[];
suzu a= {1,2,3};
等价于
using SUZU = int[];
using 的写法会稍微好理解一些
typedef
typedef unsigned int uint;
等价于
using uint = unsigned int;
数组
typedef int suzu[];
suzu a= {1,2,3};
等价于
using SUZU = int[];
using 的写法会稍微好理解一些