Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <type_traits>
- using namespace std;
- int main()
- {
- cout << boolalpha;
- cout << is_same<int, unsigned int>::value << endl;
- cout << is_same<int, signed int>::value << endl;
- cout << endl;
- cout << is_same<char, unsigned char>::value << endl;
- cout << is_same<char, signed char>::value << endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment