‘typeid’ versus ‘typeof’ in C++
I am wondering what the difference is between typeid and typeof in C++. Here’s what I know: typeid is mentioned in the documentation for type_info which is defined in the C++ header file typeinfo. typeof is defined in the GCC extension for C and in the C++ Boost library. Also, here is test code test … Read more