You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For automatic variable x, after the ternary conditional p ? void(reloc x) : void(), is x destroyed (before end of scope of x) if p converts to false? If so, when exactly?
What about in (p ? throw : void()), reloc x?
What happens if a goto, break or throw (in a previous expression-statement) skips over reloc x?
In if (false) reloc x; did we consider destroying x immediately instead of at end of scope? Does this bear adding to discussion?
I have a few questions:
reloc x + reloc x?x + reloc xorreloc x + x?x, reloc x?x or reloc x?x[reloc x]?x, after the ternary conditionalp ? void(reloc x) : void(), isxdestroyed (before end of scope ofx) ifpconverts tofalse? If so, when exactly?(p ? throw : void()), reloc x?goto,breakorthrow(in a previous expression-statement) skips overreloc x?if (false) reloc x;did we consider destroyingximmediately instead of at end of scope? Does this bear adding to discussion?