2 ms·
> It sounds like you're trying to invent std::lock_guard with extra steps. No, because lock_guard doesn't guard fields. lock_guard is simply the RAII option th
by Blackthorn 4y ago
> It sounds like you're trying to invent std::lock_guard with extra steps.
No, because lock_guard doesn't guard fields. lock_guard is simply the RAII option they were talking about in the article.