raii/problem-run - Program output - with problem_condition. | Lecture 4 - slide 13 : 40 Program 4 |
g++ raii-pattern-1.cc a.exe problem The program will throw an exception during use of resource Allocate resource: sample_resource Use Resource An exception is thrown Release resource: sample_resource Recovering