2 ms·
But is there a way to use Rust's approach of RAII guards in C++, rather than accessing the mutex inside a closure?
by nextaccountic 4y ago
But is there a way to use Rust's approach of RAII guards in C++, rather than accessing the mutex inside a closure?
- gpderetta 4y agoOf course. Boost.synchronized and the folly variant have been mentioned elsethread.
- ReactiveJelly 4y agoAdding my favorite to the pile: https://github.com/dragazo/rustex https://github.com/dragazo/rustex