It's not big, but it seems to do what I need it to do, currently.
Can someone with a deeper C++ knowledge take a quick look at it, and see if there are any obvious mistakes in my current approach to this problem?
https://github.com/bjaastad/simple-static-type-registry-cpp/blob/master/simplestatictyperegistry.hpp
https://github.com/bjaastad/simple-static-type-registry-cpp/...