摘要:
根据STL的规范,以下是allocator的必要接口:allocator::value_typeallocator::pointerallocator::const_pointerallocator::referenceallocator::const_referenceallocator::size_typeallocator::difference_typeallocator::rebind一个嵌套的(nested)class template。class rebind<U>拥有唯一成员other,那是一个typedef,代表allocator<U>allocato 阅读全文
公告
随笔分类 (62)
最新评论
- 1. Re:分支限界法(1)
好强
- --不量
- 2. Re:动态规划
- @球君 10年前,呵呵的含义相当于哈哈,还是正常的....
- --天天不在
- 3. Re:动态规划
- @天天不在 我觉得这种小细节就不用在意了吧/lengh...
- --球君
- 4. Re:C++虚函数及虚函数表解析
- 不是,为什么我跑你的程序跑不通啊
- --陶小宝
- 5. Re:NP完全性理论与近似算法
- 你独立博客是卖彩票的?
- --draculav