Does anyone know why its not possible to create an Array of CodeDocuments? When trying to compile this:
Array<CodeDocument> arrayOfDocs; CodeDocument doc; arrayOfDocs.add(doc);
I get: Call to deleted constructor of 'juce::CodeDocument' from with the below line of the array add function:
new (data.elements + numUsed++) ElementType (newElement);