A quick C++ library for making "switch" statements based on types