sync_per_thread::allocate

分配内存块。

void *allocate(std::size_t _Count);

参数

参数

说明

_Count

元素的数目将数组赋的。

备注

成员函数调用返回的结果对当前线程所属的缓存对象的 cache::allocate(_Count)。 如果缓存对象尚未为当前线程分配,它首先分配一个。

要求

页眉: <分配程序>

**命名空间:**stdext

请参见

参考

sync_per_thread 类