Warning: Duplication of code!
I tried to split it better and exploit f.ex. polymorphism. See branches
rework/drop_action/select_with_ifs
feature/drop_with_polymorphism
but both of these fail compilation with linker errors. I am not particularly interested in debugging this shit atm, and leave it as future work
Warning: Duplication of code! I tried to split it better and exploit f.ex. polymorphism. See branches