64,651
社区成员
发帖
与我相关
我的任务
分享
template<typename Key,typename Type,typename Allocator>
struct StoreObject
{
StoreObject(const Key & key,const Type &data);
typedef StoreObject<Key,Type,typename Allocator::rebind< Type >::other> ObjectType;
typedef std::list<ObjectType *,typename Allocator::rebind< ObjectType * >::other> ListType;
};
typedef StoreObject<Key,Type,typename Allocator::template rebind< Type >::other> ObjectType;
typedef std::list<ObjectType *,typename Allocator::template rebind< ObjectType * >::other> ListType;