https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122269
--- Comment #2 from Tomasz KamiĆski <tkaminsk at gcc dot gnu.org> --- With references to unknown I was refering to https://eel.is/c++draft/expr.const#17: > During the evaluation of an expression E as a core constant expression, all > id-expressions, splice-expressions, and uses of *this that refer to an object > or reference whose lifetime did not begin with the evaluation of E are > treated as referring to a specific instance of that object or reference whose > lifetime and that of all subobjects (including all union members) includes > the entire constant evaluation. But from https://eel.is/c++draft/dcl.struct.bind#7 it is unclear if this rules apply to e. I think it would make sense if they would.
