r/wg21
P3181R1 - Atomic stores and object lifetimes Standards
Posted by u/daily_relaxed_store_skeptic_2019

Document: P3181R1

Author: Hans Boehm, Dave Claussen, David Goldblatt

Date: 2026-02-23

Audience: SG1 (Concurrency)

This revision argues the lifetime rules are overly conservative when the final update is a relaxed atomic store after a release fence, and proposes wording so fence-plus-relaxed-store patterns can synchronize destruction the way release stores already do in practice. If you are tracing [basic.life] edge cases, the discussion is worth reading; the canonical redirect is https://wg21.link/p3181r1 (and the usual open-std.org mirror if that bounces).

▲ 42 points · 0 comments
sorted by: best