Hacker News new | ask | show | jobs
by zvrba 4626 days ago
Right, like what happens with the memory allocated for px in situation like below, if new ClassY throws?

A::A() : px(new ClassX), py(new ClassY) { }