int* a = new int(10);

decltype(*a) 得到的是引用类型:int&

posted on 2018-09-17 21:57  Love流浪的猪  阅读(307)  评论(0编辑  收藏  举报