I don't like it. It's hard to reason what exactly serves as condition variable.
In a more normal scenario you'd expect to use std::expected here rather than a custom struct with an operator bool.
I don't like it. It's hard to reason what exactly serves as condition variable.
In a more normal scenario you'd expect to use std::expected here rather than a custom struct with an operator bool.