Helper class implementing a lock guard for std::shared_ptr<mutex> that does not lock a mutex if it is nullptr.
More...
#include <PtrGuard.hpp>
Helper class implementing a lock guard for std::shared_ptr<mutex> that does not lock a mutex if it is nullptr.
◆ PtrGuard()
sgpp::combigrid::PtrGuard::PtrGuard |
( |
std::shared_ptr< std::recursive_mutex > |
mutexPtr | ) |
|
|
inlineexplicit |
◆ ~PtrGuard()
sgpp::combigrid::PtrGuard::~PtrGuard |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: