1、typedef 类型名  类型别名(类型别名列表);这是传统的C++类型别名声明。

2、C++11标准下,使用using,即using 类型别名=类型名。

 posted on 2018-07-27 14:53  linlh  阅读(245)  评论(0编辑  收藏  举报