MCPcopy Create free account
hub / github.com/Tracktion/choc / isUsingInternalStorage

Method isUsingInternalStorage

choc/containers/choc_SmallVector.h:122–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120 void shrink (size_type);
121 value_type* getInternalStorage() noexcept { return reinterpret_cast<value_type*> (internalStorage); }
122 bool isUsingInternalStorage() const noexcept { return numAllocated <= numPreallocatedElements; }
123 void resetToInternalStorage() noexcept;
124 void freeHeapAndResetToInternalStorage() noexcept;
125};

Callers 2

SmallVectorMethod · 0.80
choc_SmallVector.hFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected