I like to give helpful errors / messages, and I also want to do so for my static_asserts. The problem is, that they depend on template parameters. Normally, tho
static_assert
std::type_info has a member const char* name():
std::type_info
const char* name()
#include using namespace std; //... const char* name = type_info(T).name();