MidiFile: Why no copy operator?

Also, why doesn’t the MidiFile class subclass the File class?

I’ve added a copy constructor and copy assignment operator to MidiFile now on develop, thanks for the suggestion!

The File class isn’t polymorphic so it wouldn’t really make sense for MidiFile to subclass it.


Where is the development branch on github?

edit: nvm, i found it.

@ed95 I noticed that the MidiFile::writeTo() method never returns false, yet the description says “returns true if the write operation is successful”. Should this be added?

1 Like

Yep, I’ve added this to develop now. Thanks!