In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:84,
from strange_device.cpp:1:
/usr/include/c++/10/numeric: In instantiation of 'constexpr std::common_type_t<_Mn, _Nn> std::gcd(_Mn, _Nn) [with _Mn = __int128; _Nn = __int128; std::common_type_t<_Mn, _Nn> = __int128]':
strange_device.cpp:22:14: required from here
/usr/include/c++/10/numeric:133:21: error: static assertion failed: gcd arguments are integers
133 | static_assert(is_integral_v<_Mn>, "gcd arguments are integers");
| ^~~~~~~~~~~~~~~~~~
/usr/include/c++/10/numeric:134:21: error: static assertion failed: gcd arguments are integers
134 | static_assert(is_integral_v<_Nn>, "gcd arguments are integers");
| ^~~~~~~~~~~~~~~~~~
/usr/include/c++/10/numeric: In instantiation of 'constexpr std::common_type_t<_Mn, _Nn> std::__detail::__gcd(_Mn, _Nn) [with _Mn = __int128; _Nn = __int128; std::common_type_t<_Mn, _Nn> = __int128]':
/usr/include/c++/10/numeric:139:29: required from 'constexpr std::common_type_t<_Mn, _Nn> std::gcd(_Mn, _Nn) [with _Mn = __int128; _Nn = __int128; std::common_type_t<_Mn, _Nn> = __int128]'
strange_device.cpp:22:14: required from here
/usr/include/c++/10/numeric:104:49: error: use of deleted function 'void std::__detail::__abs_integral(bool)'
104 | return __m == 0 ? __detail::__abs_integral(__n)
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/c++/10/numeric:98:8: note: declared here
98 | void __abs_integral(bool) = delete;
| ^~~~~~~~~~~~~~
/usr/include/c++/10/numeric:105:39: error: use of deleted function 'void std::__detail::__abs_integral(bool)'
105 | : __n == 0 ? __detail::__abs_integral(__m)
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/c++/10/numeric:98:8: note: declared here
98 | void __abs_integral(bool) = delete;
| ^~~~~~~~~~~~~~