fork download
  1. uncaught_exception_count demo:
  2.  
  3. uncaught_exception_count=4
  4. uncaught_exception_count=3
  5. uncaught_exception_count=2
  6. uncaught_exception_count=1
  7. uncaught_exception_count=0
  8. _________________________
  9. scope_guard demo:
  10.  
  11. no exception:
  12. scope_success
  13. scope_exit
  14.  
  15. basic throw:
  16. scope_failure
  17. scope_exit
  18.  
  19. fail in previous destructor:
  20. scope_failure
  21. scope_exit
  22.  
  23. fail in next destructor:
  24. scope_success
  25. scope_exit
  26.  
  27. ExptSwallower<DLikeScopeGuard,ThrowableDestructor> during throw:
  28. scope_failure
  29. scope_exit
  30.  
  31. ExptSwallower<ThrowableDestructor,DLikeScopeGuard> during throw:
  32. scope_success
  33. scope_exit
  34.  
  35. ExptSwallower<DLikeScopeGuard,int> during throw:
  36. scope_success
  37. scope_exit
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty