Searched refs:pTAlloc (Results 1 – 1 of 1) sorted by relevance
51 pT pTAlloc; member in CollapseAllocator54 CollapseAllocator(size_t n) : pTAlloc(reinterpret_cast<pT>(stackAlloc)) { in CollapseAllocator()56 pTAlloc = reinterpret_cast<pT>(__kmp_allocate(n * sizeof(T))); in CollapseAllocator()60 if (pTAlloc != reinterpret_cast<pT>(stackAlloc)) { in ~CollapseAllocator()61 __kmp_free(pTAlloc); in ~CollapseAllocator()64 T &operator[](int index) { return pTAlloc[index]; } in operator []()65 operator const pT() { return pTAlloc; } in operator const pT()