MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / ~Array

Method ~Array

include/reactphysics3d/containers/Array.h:239–247  ·  view source on GitHub ↗

Destructor

Source from the content-addressed store, hash-verified

237
238 /// Destructor
239 ~Array() {
240
241 // If elements have been allocated
242 if (mCapacity > 0) {
243
244 // Clear the array
245 clear(true);
246 }
247 }
248
249 /// Allocate memory for a given number of elements
250 void reserve(uint64 capacity) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected