摘要:
根据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 阅读全文
posted @ 2010-08-19 09:14
独酌逸醉
阅读(474)
评论(0)
推荐(0)
浙公网安备 33010602011771号