Code AnalysisBeginner 60s
scope guard throw double output
struct G{ ~G(){ throw std::runtime_error("x"); } };
// during stack unwinding from another exception a G is destroyed
What happens?
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.