Since memory allocations on the heap are not realtime-safe, one must not grow
juce::Arrays) beyond their initial capacity in the audio thread.
std::arrays are not always feasible, as they don’t provide
push_back functionality due to being fixed-size.
Does JUCE provide a container that provides this functionality, but can’t grow beyond its initial capacity?
boost::container::static_vector<T,Capacity>, but I don’t want to include the boost library in my project.