#include <typeinfo>
#include <iostream>
#include <string>

class Foo { };

int main() {
    Foo foo;
    std::string strType = typeid(foo).name();
    
    std::cout << strType << std::endl;
}