摘要: 一、常数到类型的映射(Mapping Integral Constants to Types) 1 template <int N> 2 struct Int2Type { 3 enum { value = N }; 4 }; 根据“不同的template 参数”出导出的类型是“不同的类型”,Int 阅读全文
posted @ 2022-08-12 09:42 菜鸟_IceLee 阅读(54) 评论(0) 推荐(0) 编辑