SObjectizer  5.8
Loading...
Searching...
No Matches
so_5::details::lock_holder_detector< Lock_Type > Struct Template Reference

A selector of actual lock_holder type in dependency of lock type. More...

#include <sync_helpers.hpp>

Public Types

using type = actual_lock_holder_t<Lock_Type>
 

Detailed Description

template<typename Lock_Type>
struct so_5::details::lock_holder_detector< Lock_Type >

A selector of actual lock_holder type in dependency of lock type.

Usage example:

template< typename Lock_Type >
class my_thread_safe_class
{
void some_method() {
this->lock_and_perform( [&] {
... // Some actions.
} );
}
};
A selector of actual lock_holder type in dependency of lock type.
actual_lock_holder_t< Lock_Type > type
Since
v.5.5.19.2

Definition at line 159 of file sync_helpers.hpp.

Member Typedef Documentation

◆ type

template<typename Lock_Type >
using so_5::details::lock_holder_detector< Lock_Type >::type = actual_lock_holder_t<Lock_Type>

Definition at line 161 of file sync_helpers.hpp.


The documentation for this struct was generated from the following file: