TIL: There is something called "function-try-block", and it has been standard C+...

@tml@mementomori.social

TIL: There is something called "function-try-block", and it has been standard C++ since the first standard, C++98.

I had never seen it before. When I saw it today I was like W-T-F and couldn't believe that was correct C++.

en.cppreference.com/cpp/langua