Version

    Other Documentation

menu_open
Wwise SDK 2022.1.11

◆ Clear()

template<typename T , typename AllocatorType = ObjectPoolDefaultAllocator<>, typename LockType = ObjectPoolDefaultLockType>
void AK::ObjectPool< T, AllocatorType, LockType >::Clear ( )
inline

Deallocates all objects. This function should only be called if ValueType is trivially destructible.

Definition at line 190 of file AkObjectPool.h.

References AK::ObjectPool< T, AllocatorType, LockType >::kInvalidIndex, and AK::ObjectPool< T, AllocatorType, LockType >::DataType::next.


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise