YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
default_deleter.hpp
Go to the documentation of this file.
1
#pragma once
2
3
namespace
yaclib::detail
{
4
5
struct
[[
maybe_unused
]]
DefaultDeleter
final
{
6
template
<
typename
Type>
7
static
void
Delete
(Type& self)
noexcept
{
8
delete
&self;
9
}
10
};
11
12
}
// namespace yaclib::detail
yaclib::detail
Definition
base_core.hpp:18
yaclib::MakeContract
Contract< V, E > MakeContract()
Creates related future and promise.
Definition
contract.hpp:25
yaclib::detail::DefaultDeleter
Definition
default_deleter.hpp:5
yaclib::detail::DefaultDeleter::Delete
static void Delete(Type &self) noexcept
Definition
default_deleter.hpp:7
include
yaclib
util
detail
default_deleter.hpp
Generated by
1.9.8