31 namespace std _GLIBCXX_VISIBILITY(default)
35 _GLIBCXX_BEGIN_NAMESPACE_VERSION
37 template<intmax_t _Pn,
size_t _Bit,
38 bool = _Bit < static_cast<size_t>
41 {
static const intmax_t __value = 0; };
43 template<
intmax_t _Pn,
size_t _Bit>
44 struct __safe_lshift<_Pn, _Bit, true>
45 {
static const intmax_t __value = _Pn << _Bit; };
48 typedef ratio<__safe_lshift<1, 10>::__value, 1> kibi;
49 typedef ratio<__safe_lshift<1, 20>::__value, 1> mebi;
50 typedef ratio<__safe_lshift<1, 30>::__value, 1> gibi;
51 typedef ratio<__safe_lshift<1, 40>::__value, 1> tebi;
52 typedef ratio<__safe_lshift<1, 50>::__value, 1> pebi;
53 typedef ratio<__safe_lshift<1, 60>::__value, 1> exbi;
57 _GLIBCXX_END_NAMESPACE_VERSION
Properties of fundamental types.