Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
typeid VC++
//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x86 #include <iostream> #include <typeinfo> using namespace std; int main() { cout << "typeid(char).hash_code(): " << typeid(char).hash_code() << endl; cout << "typeid(char).name(): " << typeid(char).name() << endl; cout << "typeid(char).raw_name(): " << typeid(char).raw_name() << endl; cout << "typeid(short).hash_code(): " << typeid(short).hash_code() << endl; cout << "typeid(short).name(): " << typeid(short).name() << endl; cout << "typeid(short).raw_name(): " << typeid(short).raw_name() << endl; cout << "typeid(long).hash_code(): " << typeid(long).hash_code() << endl; cout << "typeid(long).name(): " << typeid(long).name() << endl; cout << "typeid(long).raw_name(): " << typeid(long).raw_name() << endl; cout << "typeid(long long).hash_code(): " << typeid(long long).hash_code() << endl; cout << "typeid(long long).name(): " << typeid(long long).name() << endl; cout << "typeid(long long).raw_name(): " << typeid(long long).raw_name() << endl; }
run
|
edit
|
history
|
help
0
thread-destructor
Overload
Templatized Visitor Pattern Example
move swap
Printf %px test
PTaHHHa
1337
123
What is the fastest/most efficient way to find the highest set bit (msb) in an integer in C?
hangman