The P1956R1 renaming isn't implemented on the gcc-9 branch, so this is
the old value corresponding to the original proposal that added these
functions.
* include/std/bit (__cpp_lib_int_pow2): Define to indicate P0556R3
support.
* include/std/version (__cpp_lib_int_pow2): Likewise.
2020-04-23 Jonathan Wakely <jwakely@redhat.com>
+ * include/std/bit (__cpp_lib_int_pow2): Define to indicate P0556R3
+ support.
+ * include/std/version (__cpp_lib_int_pow2): Likewise.
+
Backport from mainline
2019-12-10 Jonathan Wakely <jwakely@redhat.com>
// [bit.pow.two], integral powers of 2
+#define __cpp_lib_int_pow2 201806L
+
template<typename _Tp>
constexpr _If_is_unsigned_integer<_Tp, bool>
ispow2(_Tp __x) noexcept
# define __cpp_lib_destroying_delete 201806L
#endif
#define __cpp_lib_endian 201907L
+#define __cpp_lib_int_pow2 201806L
#ifdef _GLIBCXX_HAVE_BUILTIN_IS_CONSTANT_EVALUATED
# define __cpp_lib_is_constant_evaluated 201811L
#endif