1 | #include <limits> |
---|---|
2 | |
3 | struct A { |
4 | const static auto uint128_max = std::numeric_limits<__uint128_t>::max(); |
5 | const static auto uint128_min = std::numeric_limits<__uint128_t>::min(); |
6 | const static auto int128_max = std::numeric_limits<__int128_t>::max(); |
7 | const static auto int128_min = std::numeric_limits<__int128_t>::min(); |
8 | }; |
9 | |
10 | int main() { |
11 | A a; |
12 | |
13 | auto int128_max = A::int128_max; |
14 | auto uint128_max = A::uint128_max; |
15 | auto int128_min = A::int128_min; |
16 | auto uint128_min = A::uint128_min; |
17 | return 0; // break here |
18 | } |
19 |