首页 > 2016年03月20日 > 全部分享
shared_ptr 的使用及注意事项
1. 声明#include <boost/shared_ptr.hpp> class UsersBitmap { ... } typedef boost::shared_ptr<UsersBitmap> UsersBitmapPtr; 2. 使用 UsersBitmapPtr login_users
分类:其他   时间:2016-03-20 00:12:34    收藏:0  评论:0  赞:0  阅读:374
顶层const和底层const
As we’ve seen, a pointer is an object that can point to a different object. As a result,we can talk independently about whether a pointer is const and
分类:其他   时间:2016-03-20 00:12:23    收藏:0  评论:0  赞:0  阅读:314
codeforces 653A A. Bear and Three Balls(水题)
题目链接: A. Bear and Three Balls Limak is a little polar bear. He has n balls, the i-th ball has size ti. Limak wants to give one ball to each of his thr
分类:其他   时间:2016-03-20 00:12:13    收藏:0  评论:0  赞:0  阅读:382
1383条   上一页 1 ... 68 69 70
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!