sync_per_thread::allocate

分配内存块。

void *allocate(std::size_t _Count);

参数

Parameter

说明

_Count

元素数。将数组的。

备注

成员函数调用返回的结果传递到在属于当前线程的缓存对象的 cache::allocate(_Count) 。如果缓存对象不会为当前线程分配,它首先将一。

要求

**标题:**allocators

命名空间: stdext

请参见

参考

sync_per_thread Class