|
|
|
|
|
by ncmncm
2632 days ago
|
|
You might have picked the wrong hill to die on. C++ destructors really are deterministic, even in the face of exceptions, lambdas, and moves: everything constructed gets destroyed. Modern wrinkles where the compiler is allowed to skip a construction and a destruction do not contradict that. You have to fool with heap memory or evoke UB to escape that law. |
|