From aa1e7748895781347df5c162032d79956efc8759 Mon Sep 17 00:00:00 2001 From: HedgehogInTheCPP Date: Tue, 25 Aug 2026 22:58:06 +0300 Subject: [PATCH] Improvements detection of features, part 16, FASTFLOAT_NO_UNIQUE_ADDRESS --- include/fast_float/bigint.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/fast_float/bigint.h b/include/fast_float/bigint.h index 0421165..e436d58 100644 --- a/include/fast_float/bigint.h +++ b/include/fast_float/bigint.h @@ -39,9 +39,9 @@ constexpr limb_t bigint_limbs = bigint_bits / limb_bits; // vector-like type that is allocated on the stack. the entire // buffer is pre-allocated, and only the length changes. template struct stackvec { - limb data[size]; + FASTFLOAT_NO_UNIQUE_ADDRESS limb data[size]; // we never need more than 150 limbs - limb_t length{0}; + FASTFLOAT_NO_UNIQUE_ADDRESS limb_t length{0}; FASTFLOAT_CONSTEXPR20 stackvec() noexcept = default; stackvec(stackvec const &) = delete;