Wwise SDK 2023.1.7
|
◆ 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. AkObjectPool.h の 164 行目に定義があります。 参照先 AK_InvalidParameter, AK_Success, AKASSERT, AK::ObjectPool< T, AllocatorType, LockType >::DataType::next. |