Access the function return value in C++ scope guard | Dark Hacker News