Support Class Library
A set of tools providing classes and utility
include
scl
tools
make
mutexed.h
Go to the documentation of this file.
1
#pragma once
2
#include <
scl/async/Mutexed.h
>
3
4
namespace
scl
{
5
namespace
tools{
6
namespace
make
{
14
template
<
class
T,
class
... Args>
15
scl::async::Mutexed<T>
mutexed
(Args&&... args){
16
return
scl::async::Mutexed<T>
{
17
std::forward<Args>(args)...
18
};
19
}
20
}
21
}
22
}
scl::async::Mutexed
A wrapper class that protects a value with a lock.
Definition:
Mutexed.h:14
scl
Global namespace of the SCL.
Definition:
alias.hpp:3
Mutexed.h
scl::tools::make::mutexed
scl::async::Mutexed< T > mutexed(Args &&... args)
Creates a scl::async::Mutexed from the given type and arguments.
Definition:
mutexed.h:15
scl::tools::make
Group of factory functions.
Definition:
any.h:8
Generated by
1.8.13