Working a lot with ValueTrees recently I regularly find myself implementing some classes that inherit
ValueTreeListener which just needs to listen to only one of the member functions (mostly propertyChanged). However as there are 5 pure virtual member functions I often implement four empty member functions.
I know I could work around this just like David Rowland does it in his famous ADC talk regarding ValueTrees and implement some
ValueTreePropertyChangeListener class that just overrides all other member functions with an empty function body, however I wonder if there would be any downside in just not declaring those methods to be pure virtual and let the user decide which functions he or she actually needs to override?
I would be happy for either a quick explanation of the reasons behind this design decision or if there is no problem with declaring them just virtual with an empty function body to turn this into a feature request!