[libc-commits] [libc] [libc] Make BigInt trivially constructible (PR #206277)
Krishna Pandey via libc-commits
libc-commits at lists.llvm.org
Thu Jul 2 08:55:18 PDT 2026
================
@@ -1389,6 +1392,11 @@ first_trailing_one(T value) {
return value == 0 ? 0 : cpp::countr_zero(value) + 1;
}
+static_assert(LIBC_NAMESPACE::cpp::is_trivially_constructible<
+ LIBC_NAMESPACE::BigInt<128, false>>::value);
+static_assert(LIBC_NAMESPACE::cpp::is_trivially_copyable<
+ LIBC_NAMESPACE::BigInt<128, false>>::value);
+
----------------
krishna2803 wrote:
are these still needed here?
https://github.com/llvm/llvm-project/pull/206277
More information about the libc-commits
mailing list