2 Dec
2023
2 Dec
'23
8:12 p.m.
Hi All,
Two observations from reading the docs.
Why do I need a condition in scope_exit when I have a scope_fail?
I recommend putting warning somewhere in the docs that while using scope
guards you may inadvertently read an object after move:
std::string checked(std::string name)
{
scope::scope_exit g{[&]{
std::clog << "checked " << name <