3 ms·
Guard objects dont have to be on the stack. They work beautifully inside a context object that's registered with global manager if you're in an async codebase.
by monocasa 9y ago
Guard objects dont have to be on the stack. They work beautifully inside a context object that's registered with global manager if you're in an async codebase. std::move is a glourious thing.