Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
typeid
//g++ 4.9.3 //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
base base
rotation
runtime template mode processor
TwoANOVA
Dar
Operation on Set Container
pyramid
NumberToWords
PayTax
Size of data type test