29 #ifndef JUCE_ARRAYALLOCATIONBASE_H_INCLUDED 30 #define JUCE_ARRAYALLOCATIONBASE_H_INCLUDED 45 template <
class ElementType,
class TypeOfCriticalSectionToUse>
61 #if JUCE_COMPILER_SUPPORTS_MOVE_SEMANTICS 138 #endif // JUCE_ARRAYALLOCATIONBASE_H_INCLUDED void setAllocatedSize(const int numElements)
Definition: juce_ArrayAllocationBase.h:84
#define noexcept
Definition: juce_CompilerSupport.h:141
Definition: juce_ArrayAllocationBase.h:46
void swapWith(HeapBlock< ElementType, otherBlockThrows > &other) noexcept
Definition: juce_HeapBlock.h:275
void realloc(const size_t newNumElements, const size_t elementSize=sizeof(ElementType))
Definition: juce_HeapBlock.h:255
void shrinkToNoMoreThan(const int maxNumElements)
Definition: juce_ArrayAllocationBase.h:116
ArrayAllocationBase() noexcept
Definition: juce_ArrayAllocationBase.h:51
~ArrayAllocationBase() noexcept
Definition: juce_ArrayAllocationBase.h:57
HeapBlock< ElementType > elements
Definition: juce_ArrayAllocationBase.h:130
void swapWith(ArrayAllocationBase< ElementType, TypeOfCriticalSectionToUse > &other) noexcept
Definition: juce_ArrayAllocationBase.h:123
void ensureAllocatedSize(const int minNumElements)
Definition: juce_ArrayAllocationBase.h:105
void free() noexcept
Definition: juce_HeapBlock.h:265
int numAllocated
Definition: juce_ArrayAllocationBase.h:131