Skip to content

Composition of STL containers over inheritance

Jonas Hahnfeld requested to merge hahnjo/lilypond:composition into master

Compose Dot_configuration and Ties_configuration of std::map / std::vector instead of privately inheriting.


Came across this today and it struck me as an anti-pattern, not sure though if the "fix" improves the situation or not...

Merge request reports