Home | History | Annotate | Download | only in include

Lines Matching refs:template

47 // Template to return the number of decimal digits in a number
50 template<typename T, T bits, bool is_signed> struct digits10 {
56 template<> struct digits10<int, 8, false> { static const int value = 3; };
57 template<> struct digits10<int, 8, true> { static const int value = 3; };
58 template<> struct digits10<int, 16, false> { static const int value = 5; };
59 template<> struct digits10<int, 16, true> { static const int value = 5; };
60 template<> struct digits10<int, 32, false> { static const int value = 10; };
61 template<> struct digits10<int, 32, true> { static const int value = 10; };
62 template<> struct digits10<int, 64, false> { static const int value = 20; };
63 template<> struct digits10<int, 64, true> { static const int value = 19; };
93 template<typename _T>
106 template<>
122 template<>
138 template<>
154 template<>
170 template<>
186 template<>
202 template<>
218 template<>