4 ms·
If you're ok with third party libraries, there are some solutions to static polymorphism. For example, EnTT comes with this: https://github.com/skypjack/entt/wi
by dkersten 5y ago
If you're ok with third party libraries, there are some solutions to static polymorphism. For example, EnTT comes with this: https://github.com/skypjack/entt/wiki/Crash-Course:-poly https://github.com/skypjack/entt/wiki/Crash-Course:-poly
- strictfp 5y agoInteresting! As by pure chance, my current project already incorporates EnTT, so I will definitely give this a closer look. Thank you.