setAllocator

此方法用于设置分配方法。

可见性
Public
特征符
void setAllocator(T * (*newAllocator)(int))
参数
newAllocator

这是池内存不足时调用的回调


反馈