MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / resetToInternalStorage

Method resetToInternalStorage

include/choc/choc_SmallVector.h:268–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266
267template <typename ElementType, size_t preSize>
268void SmallVector<ElementType, preSize>::resetToInternalStorage() noexcept
269{
270 elements = getInternalStorage();
271 numAllocated = preSize;
272}
273
274template <typename ElementType, size_t preSize>
275void 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