Wwise SDK 2023.1.5
|
◆ Deallocate()
template<typename T , typename AllocatorType = ObjectPoolDefaultAllocator<>, typename LockType = ObjectPoolDefaultLockType>
Deallocates given pointer. Calling Deallocate when IsEmpty() returns true is undefined behaviour. Calling Deallocate with a pointer that wasn't allocated by this pool is undefined behaviour. You can define AK_OBJECT_POOL_EXTRA_SAFETY for extra debugging check. Definition at line 164 of file AkObjectPool.h. References AK_InvalidParameter, AK_Success, AKASSERT, and AK::ObjectPool< T, AllocatorType, LockType >::DataType::next. |
Questions? Problems? Need more info? Contact us, and we can help!
Visit our Support pageRegister your project and we'll help you get started with no strings attached!
Get started with Wwise