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
3namespace yaclib::detail {
4
6 template <typename Type>
7 static void Delete(Type& self) noexcept {
8 delete &self;
9 }
10};
11
12} // namespace yaclib::detail
Contract< V, E > MakeContract()
Creates related future and promise.
Definition contract.hpp:25
static void Delete(Type &self) noexcept