👨🔧 C++ non-virtual dynamic dispatch
C++ provides dynamic dispatch via virtual functions. Most common implementation uses “v-tables”, with each object having a pointer to said v-table. In some cases, this is undesireable. There are other reasons to avoid virtual functions and here we present a low-effort way of doing so.