摘要: C++11中出现了uniform initialization的概念:int a1 = {1};//okint a2 = {1.0};//错误,必须收缩转换int array1[] = {1,2,3,4};//okint arrya2[] = {1.0,2.0,3.0,4.0};//ok注意a2的初... 阅读全文
posted @ 2015-05-01 22:46 P.wang 阅读(747) 评论(0) 推荐(0) 编辑