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

Method resetToInternalStorage

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

Source from the content-addressed store, hash-verified

264
265template <typename ElementType, size_t preSize>
266void SmallVector<ElementType, preSize>::resetToInternalStorage() noexcept
267{
268 elements = getInternalStorage();
269 numAllocated = preSize;
270}
271
272template <typename ElementType, size_t preSize>
273void SmallVector<ElementType, preSize>::freeHeapAndResetToInternalStorage() noexcept

Callers 2

SmallVectorMethod · 0.80
choc_SmallVector.hFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected