Searched defs:promote_code (Results 1 – 1 of 1) sorted by relevance
39 template <class A> struct promote_code { static const int value = -1; }; argument44 template <> struct promote_code<bool> { static const int value = 10; }; struct45 template <> struct promote_code<char> { static const int value = 20; }; struct46 template <> struct promote_code<unsigned char> { static const int value = 30; }; argument47 template <> struct promote_code<signed char> { static const int value = 40; }; argument48 template <> struct promote_code<short int> { static const int value = 50; }; argument51 template <> struct promote_code<int> { static const int value = 100; }; struct52 template <> struct promote_code<unsigned int> { static const int value = 200; }; struct53 template <> struct promote_code<long> { static const int value = 300; }; argument54 template <> struct promote_code<unsigned long> { static const int value = 400; }; argument[all …]