Date: Fri, 23 Jan 2026 12:37:35 -0800
On Friday, 23 January 2026 09:37:23 Pacific Standard Time Brian Bi via Std-
Proposals wrote:
> What we lack any specification of is when the values of padding bits can
> change through operations other than `memcpy`, and what they would change
> to (possibly indeterminate).
A mutating operation on a T that has padding bits makes them indeterminate
again.
memcpy() does not operate on T. It operates on unsigned chars, which don't
have padding bits, therefore it cannot make determined bits become
indeterminate.
Proposals wrote:
> What we lack any specification of is when the values of padding bits can
> change through operations other than `memcpy`, and what they would change
> to (possibly indeterminate).
A mutating operation on a T that has padding bits makes them indeterminate
again.
memcpy() does not operate on T. It operates on unsigned chars, which don't
have padding bits, therefore it cannot make determined bits become
indeterminate.
-- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Principal Engineer - Intel Data Center - Platform & Sys. Eng.
Received on 2026-01-23 20:37:46
