smgl 0.11.0
Structured Metadata Engine and Graph Objects Library
Loading...
Searching...
No Matches
Public Member Functions | List of all members
smgl::policy::SingleThreaded< T >::Lock Struct Reference

Single-threaded lock type which does nothing. More...

#include <smgl/Singleton.hpp>

Public Member Functions

 Lock ()=default
 
 Lock (T &)
 

Detailed Description

template<typename T>
struct smgl::policy::SingleThreaded< T >::Lock

Single-threaded lock type which does nothing.

Definition at line 93 of file Singleton.hpp.

Constructor & Destructor Documentation

◆ Lock() [1/2]

template<typename T >
smgl::policy::SingleThreaded< T >::Lock::Lock ( )
default

Default constructor does nothing

◆ Lock() [2/2]

template<typename T >
smgl::policy::SingleThreaded< T >::Lock::Lock ( T &  )
inlineexplicit

Lock for specific object does nothing

Definition at line 97 of file Singleton.hpp.


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