mirror of https://github.com/bitcoin/bitcoin
Merge bitcoin/bitcoin#24962: prevector: enforce is_trivially_copyable_v
pull/25148/head11e7908484
prevector: only allow trivially copyable types (Martin Leitner-Ankerl) Pull request description: prevector uses `memmove` to move around data, that means it can only be used with types that are trivially copyable. That implies that the types are trivially destructible, thus the checks for `is_trivially_destructible` are not needed. ACKs for top commit: w0xlt: ACK11e7908484
MarcoFalke: review ACK11e7908484
🏯 ajtowns: ACK11e7908484
-- code review only Tree-SHA512: cbb4d8bfa095100677874b552d92c324c7d6354fcf7adab2ed52f57bd1793762871798b5288064ed1af2d2903a0ec9dbfec48d99955fc428f18cc28d6840dccc
commit
07cb4dee5d
Loading…
Reference in new issue