Arrays - Is it possible ( or safe ) to subclass Array<&g


#1

just wondering if it is possible or sensible to subclass Array<> to add functionality ?

if so, how would one go about it to avoid problems within JUCE ?


#2

Sure, it’s safe as long as you’re just adding methods, and not overriding them, but bear in mind that it’s not got a virtual destructor.