#include<type_info> #include<string> template <typename T> inline std::string typestr(T const&) { return typestr<T>(); } int main() { struct X {} ; std::string s = typestr(X()); }
Standard input is empty
prog.cpp:1:20: fatal error: type_info: No such file or directory compilation terminated.
Standard output is empty