jeans chen
we've got them by the balls
摘要: 接受指针的构造函数为explicit构造函数,所以必须使用初始化的直接形式来创建auto_ptr对象:auto_ptr pi = new int(1024);//errorauto_ptr pi(new int(1024));//ok:uses direct initialization 阅读全文
posted @ 2013-07-22 14:10 jeans chen 阅读(142) 评论(0) 推荐(0)