摘要: 法一:基本写法 int (&fun()) [5]; 法二:类型别名 using arrT = int[5]; arrT& fun(); 法三:尾置返回类型 auto fun() -> int(&) [5]; 法四:使用decltype关键字 int a[5] = {1,2,3,4,5}; declt 阅读全文
posted @ 2017-05-20 16:17 三二二, 阅读(192) 评论(0) 推荐(0) 编辑