MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / Stack

Method Stack

include/reactphysics3d/containers/Stack.h:93–99  ·  view source on GitHub ↗

Constructor

Source from the content-addressed store, hash-verified

91
92 /// Constructor
93 Stack(MemoryAllocator& allocator, uint64 capacity = 0)
94 :mAllocator(allocator), mArray(nullptr), mNbElements(0), mCapacity(0) {
95
96 if (capacity > 0) {
97 allocate(capacity);
98 }
99 }
100
101 /// Copy constructor
102 Stack(const Stack& stack)

Callers

nothing calls this directly

Calls 1

allocateMethod · 0.45

Tested by

no test coverage detected