C++ Get name of type in template January 6, 2023 by Tarik The solution is typeid(T).name() where typeid(T) returns std::type_info.