After a lot of searching, trial and error, I managed to use C++ template recursi...

@brouhaha@mastodon.social

After a lot of searching, trial and error, I managed to use C++ template recursion to solve a vexing problem. I have a static function in a templated class that has a parameter pack of typenames, where those template parameters are all different classes that each have a static function with the same profile.
The static function in my class does some thinking to come up with an index into the parameter pack, and for the class in that position in the pack, invoke its static function.
#CPlusPlus