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

Method Set

include/reactphysics3d/containers/Set.h:207–215  ·  view source on GitHub ↗

Constructor

Source from the content-addressed store, hash-verified

205
206 /// Constructor
207 Set(MemoryAllocator& allocator, uint64 capacity = 0)
208 : mNbAllocatedEntries(0), mNbEntries(0), mHashSize(0), mBuckets(nullptr),
209 mEntries(nullptr), mNextEntries(nullptr), mAllocator(allocator), mFreeIndex(INVALID_INDEX) {
210
211 if (capacity > 0) {
212
213 reserve(capacity);
214 }
215 }
216
217 /// Copy constructor
218 Set(const Set<V, Hash, KeyEqual>& set)

Callers

nothing calls this directly

Calls 1

allocateMethod · 0.45

Tested by

no test coverage detected