FRESH
Hacker News
Home
C++26: Structured Bindings in Conditions
19 points by jandeboevrie
by Panzerschrek
3 subcomments
> if (const auto& [is_successful, error_message] = foo(n))
I don't like it. It's hard to reason what exactly serves as condition variable.